tldr/pages/common/flutter.md

37 lines
704 B
Markdown
Raw Normal View History

2018-07-25 23:47:24 +01:00
# flutter
> Google's free, open source, and cross-platform mobile app SDK.
2019-06-07 11:58:14 +01:00
> More information: <https://github.com/flutter/flutter/wiki/The-flutter-tool>.
2018-07-25 23:47:24 +01:00
- Check the Flutter version:
`flutter --version`
- Display general help:
`flutter help`
- Display help about a specific command:
`flutter help {{command}}`
- Execute a Flutter command:
`flutter {{command}}`
- Show information about the installed tooling:
`flutter doctor`
2020-09-04 19:58:56 +01:00
- List or change Flutter channel:
2020-09-04 19:58:56 +01:00
`flutter channel {{stable|beta|dev|master}}`
2020-09-04 20:07:01 +01:00
- Run Flutter on all started emulators and connected devices:
`flutter run -d all`
2020-10-12 22:39:07 +01:00
- Run tests in a terminal from the root of the project:
`flutter test {{test/example_test.dart}}`