MacOS Install - Flutter Documentation

Skip to main content

docs.flutter.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.

Learn more OK, got it
  • Install Flutter
  • Start here
  • Quick start
  • Custom setup
  • User interface
  • Introduction
  • Widget catalog
    • Overview
    • Design systems
      • Cupertino
      • Material components
    • Base widgets
      • Accessibility
      • Animation
      • Assets
      • Async
      • Basics
      • Input
      • Interaction
      • Layout
      • Painting
      • Scrolling
      • Styling
      • Text
  • Layout
    • Introduction
    • Build a layout
    • Lists & grids
      • Create and use lists
      • Create a horizontal list
      • Create a grid view
      • Create lists with different types of items
      • Create lists with spaced items
      • Work with long lists
    • Scrolling
      • Overview
      • Use slivers to achieve fancy scrolling
      • Place a floating app bar above a list
      • Create a scrolling parallax effect
  • Adaptive & responsive design
    • Overview
    • General approach
    • SafeArea & MediaQuery
    • Large screens & foldables
    • User input & accessibility
    • Capabilities & policies
    • Automatic platform adaptations
    • Best practices
    • Additional resources
  • Design & theming
    • Share styles with themes
    • Material design
    • Migrate to Material 3
    • Text
      • Fonts & typography
      • Use a custom font
      • Export fonts from a package
      • Google Fonts package
    • Custom graphics
      • Use custom fragment shaders
  • Interactivity
    • Add interactivity to your app
    • Gestures
      • Introduction
      • Handle taps
      • Drag an object outside an app
      • Drag a UI element within an app
      • Add Material touch ripples
      • Implement swipe to dismiss
    • Input & forms
      • Create and style a text field
      • Retrieve the value of a text field
      • Handle changes to a text field
      • Manage focus in text fields
      • Build a form with validation
    • Display a snackbar
    • Implement actions & shortcuts
    • Manage keyboard focus
  • Assets & media
    • Add assets and images
    • Display images from the internet
    • Fade in images with a placeholder
    • Play and pause a video
    • Transform assets at build time
  • Navigation & routing
    • Overview
    • Add tabs to your app
    • Navigate to a new screen and back
    • Send data to a new screen
    • Return data from a screen
    • Add a drawer to a screen
    • Set up deep linking
    • Set up app links for Android
    • Set up universal links for iOS
    • Configure web URL strategies
  • Animations & transitions
    • Introduction
    • Tutorial
    • Implicit animations
    • Animate the properties of a container
    • Fade a widget in and out
    • Hero animations
    • Animate a page route transition
    • Animate using a physics simulation
    • Staggered animations
    • Create a staggered menu animation
    • API overview
  • Accessibility
    • Introduction
    • UI design & styling
    • Assistive technologies
    • Accessibility testing
    • Web accessibility
  • Internationalization
  • Beyond UI
  • Data & backend
    • State management
      • Introduction
      • Think declaratively
      • Ephemeral vs app state
      • Simple app state management
      • Options
    • Networking & http
      • Overview
      • Fetch data from the internet
      • Make authenticated requests
      • Send data to the internet
      • Update data over the internet
      • Delete data on the internet
      • Communicate with WebSockets
    • Serialization
      • JSON serialization
      • Parse JSON in the background
    • Persistence
      • Store key-value data on disk
      • Read and write files
      • Persist data with SQLite
    • Firebase
      • Overview
      • Add Firebase to your Flutter app
    • Google APIs
  • App architecture
    • Introduction
    • Architecture concepts
    • Guide to app architecture
    • Architecture case study
      • Overview
      • UI layer
      • Data layer
      • Dependency injection
      • Testing each layer
    • Recommendations
    • Design patterns
  • Platform integration
    • Supported platforms
    • Build desktop apps with Flutter
    • Write platform-specific code
    • Bind to native code
    • Android
      • Set up Android development
      • Add a splash screen
      • Add predictive back
      • Host a native Android view
      • Calling JetPack APIs
      • Launch a Jetpack Compose activity
      • Restore state on Android
      • Target ChromeOS with Android
      • Protect your app's sensitive content
    • iOS
      • Set up iOS development
      • Flutter on latest iOS
      • Leverage Apple's system libraries
      • Add a launch screen
      • Add iOS App Clip support
      • Add iOS app extensions
      • Host a native iOS view
      • Enable debugging on iOS
      • Restore state on iOS
    • Linux
      • Set up Linux development
      • Build a Linux app
    • macOS
      • Set up macOS development
      • Build a macOS app
      • Host a native macOS view
    • Web
      • Web support in Flutter
      • Set up web development
      • Set up a configuration file
      • Build a web app
      • Compile to WebAssembly
      • Customize app initialization
      • Add Flutter to any web app
      • Web content in Flutter
      • Web renderers
      • Display images on the web
      • Web FAQ
    • Windows
      • Set up Windows development
      • Build a Windows app
  • Packages & plugins
    • Use packages & plugins
    • Develop packages & plugins
    • Swift Package Manager
      • For app developers
      • For plugin authors
    • Flutter Favorites
    • Package repository
  • Testing & debugging
    • Testing
    • Overview
    • Unit testing
      • Introduction
      • Mock dependencies
    • Widget testing
      • Introduction
      • Find widgets
      • Simulate scrolling
      • Simulate user interaction
    • Integration testing
      • Introduction
      • Write and run an integration test
      • Profile an integration test
    • Test a plugin
    • Handle plugin code in tests
    • Debugging
    • Debugging tools
    • Debug your app programmatically
    • Use a native language debugger
    • Common Flutter errors
    • Handle errors
    • Report errors to a service
  • Performance & optimization
    • Overview
    • Impeller
    • Performance best practices
    • App size
    • Deferred components
    • Rendering performance
    • Performance profiling
    • Performance profiling for web
    • Performance metrics
    • Concurrency and isolates
    • Performance FAQ
    • Appendix
  • Deployment
    • Obfuscate Dart code
    • Create app flavors for Android
    • Create app flavors for iOS and macOS
    • Build and release an Android app
    • Build and release an iOS app
    • Build and release a macOS app
    • Build and release a Linux app
    • Build and release a Windows app
    • Build and release a web app
    • Set up continuous deployment
  • Add to an existing app
    • Introduction
    • Add to an Android app
      • Set up Android project
      • Add a single Flutter screen
      • Add a Flutter Fragment
      • Add a Flutter View
      • Use a Flutter plugin
    • Add to an iOS app
      • Set up iOS project
      • Add a single Flutter screen
    • Add to a web app
    • Debug embedded Flutter module
    • Add multiple Flutter instances
    • Loading sequence and performance
  • Resources
  • Tools & editors
    • Android Studio & IntelliJ
    • Visual Studio Code
    • DevTools
      • Overview
      • Run from Android Studio & IntelliJ
      • Run from VS Code
      • Run from command line
      • Flutter inspector
      • Legacy Flutter inspector
      • Performance view
      • CPU Profiler view
      • Memory view
      • Debug console view
      • Network view
      • Debugger
      • Logging view
      • App size tool
      • DevTools extensions
      • Validate deep links
      • Release notes
    • Flutter Widget Previewer
    • Flutter Property Editor
    • SDK overview
    • Flutter's pubspec options
    • Automated fixes
    • Code formatting
  • Flutter concepts
    • Architectural overview
    • Inside Flutter
    • Understanding constraints
    • Flutter's build modes
    • Hot reload
  • App solutions
    • Develop with Firebase
      • Overview
      • Discover Firebase for Flutter
      • Get to know Firebase for Flutter
      • Add a user authentication flow to a Flutter app using FirebaseUI
      • Get to know Firebase for web
    • Build multi-platform games
      • Overview
      • Add achievements and leaderboards
      • Build leaderboards with Firestore
      • Add advertising
      • Add multiplayer support
      • Add in-app purchases
      • Add user authentication
      • Debug using Crashlytics
      • Intro to Flame with Flutter
    • Monetize your app
      • Integrate ads
        • Ads overview
        • Add advertising
        • Add AdMob ads to your Flutter app
        • Add an AdMob banner and native inline ads
        • Integrate multimedia ads (video)
        • Google AdMob mediation
        • Interactive Media Ads SDK
      • Support payments
        • Payments overview
        • Google pay package
      • Add in-app purchases
    • Integrate maps
      • Add Google maps to a Flutter app
      • Google Maps package
    • AI solutions
      • Create with AI
      • Rules for AI
      • AI best practices
        • Overview
        • Prompting
        • Structure & output
        • Tool calls (aka function calls)
        • Mode of interaction
        • Developer experience
      • AI Toolkit
        • Overview
        • User experience
        • Feature integration
        • Custom LLM providers
        • Chat client sample
      • GenUI SDK for Flutter
        • Overview
        • Main components & concepts
        • Get started
        • Input and events
      • Dart & Flutter MCP server
      • Flutter extension for Gemini CLI
      • Firebase AI Logic
  • From another platform?
    • Flutter for Android devs
    • Flutter for Jetpack Compose devs
    • Flutter for SwiftUI devs
    • Flutter for UIKit devs
    • Flutter for React Native devs
    • Flutter for web devs
    • Flutter for Xamarin.Forms devs
    • Introduction to declarative UI
    • Flutter versus Swift concurrency
  • Stay up to date
    • Release notes
    • Breaking changes
    • Compatibility policy
    • Flutter blog
    • What's new in the docs
  • Manage install
    • SDK archive
    • Upgrade SDK
    • Add to path
    • Troubleshoot
    • Uninstall SDK
  • Resources
    • FAQ
    • Videos
    • Courses
    • Glossary
    • Get support
    • Contribute
      • Contribute to Flutter
      • Create useful bug reports
      • Discover proposed features
    • Reference
      • Who is Dash?
      • Widget index
      • Create a new app
      • flutter CLI
      • API docs
Dash pointing you in the right direction

But Dash is here to help - maybe one of these will point you in the right direction?

  • Homepage
  • Package site
  • API reference
  • Documentation
  • Community
  • Blog
  • X (Twitter)
  • FAQ
Was this page's content helpful?

Từ khóa » Cài đặt Flutter Trên Mac