mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* [flutter] added flutter-pub main commands * Update flutter-pub.md * Update flutter-pub.md * Update flutter-pub.md * Update pages/common/flutter-pub.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Update pages/common/flutter-pub.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Update pages/common/flutter-pub.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Removing unnecessary commas * Update pages/common/flutter-pub.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Jack Lin <blueskyson1401@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
32 lines
801 B
Markdown
32 lines
801 B
Markdown
# flutter
|
|
|
|
> Google's free, open source, and cross-platform mobile app SDK.
|
|
> More information: <https://github.com/flutter/flutter/wiki/The-flutter-tool>.
|
|
|
|
- Initialize a new Flutter project in a directory of the same name:
|
|
|
|
`flutter create {{project_name}}`
|
|
|
|
- Check if all external tools are correctly installed:
|
|
|
|
`flutter doctor`
|
|
|
|
- List or change Flutter channel:
|
|
|
|
`flutter channel {{stable|beta|dev|master}}`
|
|
|
|
- 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 {{test/example_test.dart}}`
|
|
|
|
- Build a release APK targeting most modern smartphones:
|
|
|
|
`flutter build apk --target-platform {{android-arm}},{{android-arm64}}`
|
|
|
|
- Display help about a specific command:
|
|
|
|
`flutter help {{command}}`
|