Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
development:flutter:start [2021/04/19 10:39] kalenpw created |
development:flutter:start [2021/06/29 15:03] (current) kalenpw |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Flutter ====== | ====== Flutter ====== | ||
+ | * [[ dart ]] | ||
+ | |||
+ | ---- | ||
+ | ===== Common commands ===== | ||
+ | <code bash> | ||
+ | # list all available devices | ||
+ | flutter devices | ||
+ | |||
+ | # run flutter for given device | ||
+ | flutter run -d emulator-5554 | ||
+ | # run for all connected devices | ||
+ | flutter run -d all | ||
+ | |||
+ | # release mode for more accurate speed testing | ||
+ | flutter run --release | ||
+ | |||
+ | # disable web (--enable-web also works) | ||
+ | flutter config --no-enable-web | ||
+ | # disable linux (--enable-linux-desktop also works) | ||
+ | flutter config --no-enable-linux-desktop | ||
+ | </ | ||
+ | ---- |