flutter
Google's free, open source, and cross-platform mobile app SDK. Some subcommands such as
pubhave their own usage documentation. More information: https://github.com/flutter/flutter/blob/master/docs/tool/README.md.
- Initialize a new Flutter project in a directory of the same name:
flutter create
- Check if all external tools are correctly installed:
flutter doctor
- List or change Flutter channel:
flutter channel
- Run Flutter on all started emulators and connected devices:
flutter run -d all
- Run tests in a terminal from the root of the project:
flutter test
- Build a release APK targeting most modern smartphones:
flutter build apk --target-platform ,
- Delete the
buildand.dart_tooldirectories:
flutter clean
- Display help about a specific command:
flutter help
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
