这一节主要记录Flutter中常用的一些命令:
flutter packages get或pub get 获取 pubspec.yaml 文件中列出的所有依赖包
analyze Analyze the project's Dart code.
assemble Assemble and build flutter resources.
attach Attach to a running application.关联前台应用
bash-completion Output command line shell completion setup scripts.
build Flutter build commands.
channel List or switch flutter channels.
clean Delete the build/ and .dart_tool/ directories.
config Configure Flutter settings.
create Create a new Flutter project.
devices List all connected devices.
doctor Show information about the installed tooling.
downgrade Downgrade Flutter to the last active version for the current channel.
drive Runs Flutter Driver tests for the current project.
emulators List, launch and create emulators.
format Format one or more dart files.
gen-l10n Generate localizations for the Flutter project.
install Install a Flutter app on an attached device.
logs Show log output for running Flutter apps.
precache Populates the Flutter tool's cache of binary artifacts.
pub Commands for managing Flutter packages.
run Run your Flutter app on an attached device.
screenshot Take a screenshot from a connected device.
symbolize Symbolize a stack trace from an AOT compiled flutter application.
test Run Flutter unit tests for the current project.
upgrade Upgrade your copy of Flutter.
待补充...