xxxxxxxxxx
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: "^0.11.0"
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "asset/icons/logo.png"
//after that run the following commands:
//flutter pub get
//flutter pub run flutter_launcher_icons:main
xxxxxxxxxx
dev_dependencies:
flutter_launcher_icons: "^0.9.2"
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/icon.png"
xxxxxxxxxx
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: any
xxxxxxxxxx
A command-line tool that simplifies the task of updating your Flutter app's launcher icon. Full flexibility allows you to only update the launcher icon for specific platforms as needed.
use the following package.
icons_launcher: any
or
flutter_launcher_icons: any
dev_dependencies:
flutter_native_splash: ^1.2.0
flutter_native_splash:
image: assets/logo.png
color: "#fafafa"
flutter pub run flutter_native_splash:create
flutter pub run flutter_native_splash:remove