flutter config

Configure Flutter settings

Options

NameDescription
-h, --helpPrint this usage information
-v, --verboseNoisy logging, including all shell commands executed. If used with --help, shows hidden options
-d, --device-id <device id>Target device id or name (prefixes allowed)
--suppress-analyticsSuppress analytics reporting when this command runs
--analyticsEnable reporting anonymously tool usage statistics and crash reports
--no-analyticsDisable reporting anonymously tool usage statistics and crash reports
--clear-ios-signing-certClear the saved development certificate choice used to sign apps for iOS device deployment
--android-sdkThe Android SDK directory
--android-studio-dirThe Android Studio install directory
--build-dir <path>The relative path to override a projects build directory
--enable-webEnable Flutter for web. This setting will take effect on the master, dev, beta, and stable channels
--no-enable-webDisable Flutter for web. This setting will take effect on the master, dev, beta, and stable channels
--enable-linux-desktopEnable beta-quality support for desktop on Linux. This setting will take effect on the master, dev, beta, and stable channels. Newer beta versions are available on the beta channel
--no-enable-linux-desktopDisable beta-quality support for desktop on Linux. This setting will take effect on the master, dev, beta, and stable channels. Newer beta versions are available on the beta channel
--enable-macos-desktopEnable beta-quality support for desktop on macOS. This setting will take effect on the master, dev, beta, and stable channels. Newer beta versions are available on the beta channel
--no-enable-macos-desktopDisable beta-quality support for desktop on macOS. This setting will take effect on the master, dev, beta, and stable channels. Newer beta versions are available on the beta channel
--enable-windows-desktopEnable beta-quality support for desktop on Windows. This setting will take effect on the master, dev, beta, and stable channels. Newer beta versions are available on the beta channel
--no-enable-windows-desktopDisable beta-quality support for desktop on Windows. This setting will take effect on the master, dev, beta, and stable channels. Newer beta versions are available on the beta channel
--single-widget-reload-optimizationEnable Hot reload optimization for changes to class body of a single widget. This setting will take effect on the master, dev, and beta channels
--no-single-widget-reload-optimizationDisable Hot reload optimization for changes to class body of a single widget. This setting will take effect on the master, dev, and beta channels
--enable-androidEnable Flutter for Android. This setting will take effect on the master, dev, beta, and stable channels
--no-enable-androidDisable Flutter for Android. This setting will take effect on the master, dev, beta, and stable channels
--enable-iosEnable Flutter for iOS. This setting will take effect on the master, dev, beta, and stable channels
--no-enable-iosDisable Flutter for iOS. This setting will take effect on the master, dev, beta, and stable channels
--enable-fuchsiaEnable Flutter for Fuchsia. This setting will take effect on the master channel
--no-enable-fuchsiaDisable Flutter for Fuchsia. This setting will take effect on the master channel
--experimental-invalidation-strategyEnable Hot reload optimization that reduces incremental artifact size. This setting will take effect on the master, dev, and beta channels
--no-experimental-invalidation-strategyDisable Hot reload optimization that reduces incremental artifact size. This setting will take effect on the master, dev, and beta channels
--clear-featuresRemove all configured features and restore them to the default values