Useful Commands
Flutter
Command | Description |
---|---|
flutter create my_app | Create an App |
flutter analyze -d <DEVICE_ID> | Analyze the Dart Code |
flutter run <DART_FILE> | Run a Dart file |
flutter pub get | Download Dependencies/Packages |
flutter pub update | Update Flutter packages |
flutter --help --verbose | Get Help |
flutter doctor | Check Project Health |
flutter version | Check Version |
flutter channel <CHANNEL_NAME> | Check Channels |
flutter build | Build the Project |
flutter devices -d <DEVICE_ID> | List Connected Devices |
flutter upgrade | Upgrade Flutter Version |
flutter assemble -o | Get necessary Packages for Project |
flutter downgrade | Downgrade Flutter/Dart SDKs |
flutter emulators | List available Emulators |
flutter install -d <DEVICE_ID | Install Flutter App on a Device |
flutter logs | View Terminal logs |
Updated about 1 month ago