This is an old revision of the document!


Flutter

Common commands

# 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