flutter format

Format one or more Dart files

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
-n, --dry-runShow which files would be modified but make no changes
--set-exit-if-changedReturn exit code 1 if there are any formatting changes
-m, --machineProduce machine-readable JSON output
-l, --line-lengthWrap lines longer than this length. Defaults to 80 characters. (defaults to "80")