flutter config
Configure Flutter settings
Options
Name | Description |
---|---|
-h, --help | Print this usage information |
-v, --verbose | Noisy 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-analytics | Suppress analytics reporting when this command runs |
--analytics | Enable reporting anonymously tool usage statistics and crash reports |
--no-analytics | Disable reporting anonymously tool usage statistics and crash reports |
--clear-ios-signing-cert | Clear the saved development certificate choice used to sign apps for iOS device deployment |
--android-sdk | The Android SDK directory |
--android-studio-dir | The Android Studio install directory |
--build-dir <path> | The relative path to override a projects build directory |
--enable-web | Enable Flutter for web. This setting will take effect on the master, dev, beta, and stable channels |
--no-enable-web | Disable Flutter for web. This setting will take effect on the master, dev, beta, and stable channels |
--enable-linux-desktop | Enable 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-desktop | Disable 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-desktop | Enable 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-desktop | Disable 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-desktop | Enable 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-desktop | Disable 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-optimization | Enable 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-optimization | Disable 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-android | Enable Flutter for Android. This setting will take effect on the master, dev, beta, and stable channels |
--no-enable-android | Disable Flutter for Android. This setting will take effect on the master, dev, beta, and stable channels |
--enable-ios | Enable Flutter for iOS. This setting will take effect on the master, dev, beta, and stable channels |
--no-enable-ios | Disable Flutter for iOS. This setting will take effect on the master, dev, beta, and stable channels |
--enable-fuchsia | Enable Flutter for Fuchsia. This setting will take effect on the master channel |
--no-enable-fuchsia | Disable Flutter for Fuchsia. This setting will take effect on the master channel |
--experimental-invalidation-strategy | Enable Hot reload optimization that reduces incremental artifact size. This setting will take effect on the master, dev, and beta channels |
--no-experimental-invalidation-strategy | Disable Hot reload optimization that reduces incremental artifact size. This setting will take effect on the master, dev, and beta channels |
--clear-features | Remove all configured features and restore them to the default values |