flutter format
Format one or more Dart files
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 |
-n, --dry-run | Show which files would be modified but make no changes |
--set-exit-if-changed | Return exit code 1 if there are any formatting changes |
-m, --machine | Produce machine-readable JSON output |
-l, --line-length | Wrap lines longer than this length. Defaults to 80 characters. (defaults to "80") |