One, environment installation

Flutter --version View the currently installed flutter version. Flutter upgrade Upgrade the current flutter version flutter doctor to check whether the environment installation is completeCopy the code

Ii. Project compilation and operation

Flutter clean Clears build directory flutter pub get Gets pub plugin package flutter run -- device name to run the project to the specified deviceCopy the code

Three, packaging,

Flutter build apk --release --target-platform android-arm64 Generate apK build ios with specified CPU architecture. You need to use Xcode for packagingCopy the code