Icon(
Icons.home,
color: Colors.blue,
size: 40.0,
textDirection: TextDirection.ltr,
semanticLabel: 'Icon', // Announced in accessibility modes (e.g TalkBack/VoiceOver). This label does not show in the UI.
),
dev_dependencies:
flutter_launcher_icons: ^0.9.0
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/icon.png"
/* command
flutter pub get
flutter pub run flutter_launcher_icons:main
*/
flutter pub run flutter_launcher_icons:main
flutter pub get
flutter pub run flutter_launcher_icons:main
dependencies:
flutter_launcher_icons: ^0.8.0
dependencies:
flutter_icons: ^1.1.0
dependencies:
font_awesome_flutter: ^8.10.0
dependencies:
typicons_flutter: ^0.4.2
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