30.7 Flutter Commands

20220121

Below is collected together various commands that may be useful at one time or another.

dart format lib

flutter
flutter analyze
flutter build -d linux
flutter build web
flutter channel dev
flutter clean
flutter config --android-studio-dir /snap/android-studio/current/android-studio
flutter config --enable-linux-desktop
flutter config --enable-macos-desktop
flutter config --enable-windows-desktop
flutter create .
flutter create --platforms=windows,macos,linux .
flutter devices
flutter doctor
flutter doctor --android-licenses
flutter format
flutter pub add charts_flutter
flutter pub cache repair
flutter pub get
flutter pub outdated
flutter pub run build_runner build
flutter pub upgrade
flutter run
flutter run -d linux
flutter upgrade

Related commands:

dart pub global activate flutter_cors
fluttercors --disable


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0