Press "Enter" to skip to content

“Flutter Doctor” based Basic Commands

Flutter: Run Flutter Doctor

This commands runs flutter doctor and shows the results in the Output pane.

For more information on using packages see the Flutter website.

Flutter: Clean Project

This commands runs flutter clean to remove any existing build output for the current project.

Flutter: Select Device

If you have multiple devices or simulators connected then this command will allow you to quickly switch between Dart SDKs. See Quickly Switching Between Flutter Devices for more info.

Flutter: Change SDK

If you have configured the dart.flutterSdkPaths setting then this command will allow you to quick switch between Flutter SDKs. See Quickly Switching Between SDK Versions for more info.

Flutter: Get Packages

This command fetches Flutter packages listed in your pubspec.yaml and their dependencies for the current project. If invoked in a standard Dart project this command will instead run Pub: Get Packages.

For more information on using packages see the Flutter website.

Flutter: Upgrade Packages

This command upgrades Flutter packages to the latest version allowed by the constraints in your pubspec.yaml for the current project. If invoked in a standard Dart project this command will instead run Pub: Upgrade Packages.

Be First to Comment

Leave a Reply

Your email address will not be published.