Flutter 3.19.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision ba39319843 (4 weeks ago) • 2024-03-07 15:22:21 -0600 Engine • revision 2e4ba9c6fb Tools • Dart 3.3.1 • DevTools 2.31.1
打开 Android Studio 或者 VS Code 的终端 Terminal
输入下面两行命令。
flutter packages get
flutter packages pub run flutter_launcher_icons:main
flutter run --no-sound-null-safety -v
flutter build ios --no-sound-null-safety --release
完毕后,图标就会被 icon 这个源生成的各种规格和平台的图标,覆盖。
https://blog.csdn.net/icewst/article/details/122841724
open -a Simulator
flutter pub run flutter_native_splash:create // ios android