flutter

-version

flutter commands

The following table shows which commands you can use with the flutter tool:

analyze

flutter analyze -d <DEVICE_ID>

Analyzes the project’s Dart source code.Use instead of dart analyze.

assemble

flutter assemble -o <DIRECTORY>

Assemble and build flutter resources.

attach

flutter attach -d <DEVICE_ID>

Attach to a running application.

bash-completion

flutter bash-completion

Output command line shell completion setup scripts.

build

flutter build <DIRECTORY>

Flutter build commands.

channel

flutter channel <CHANNEL_NAME>

List or switch flutter channels.

clean

flutter clean