xxxxxxxxxx
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: ^0.9.2 # replace with the latest version
xxxxxxxxxx
1. Flutter Launcher Icons has been designed to help quickly generate launcher
icons for both Android and iOS:
https://pub.dartlang.org/packages/flutter_launcher_icons
2. Add the package to your pubspec.yaml file (within your Flutter project) to
use it
3. Within pubspec.yaml file specify the path of the icon you wish to use for
the app and then choose whether you want to use the icon for the iOS app,
Android app or both.
4. Run the package
Voila! The default launcher icons have now been replaced with your custom icon
xxxxxxxxxx
FlutterLogo(
size: 100.0,
style: FlutterLogoStyle.horizontal,
textColor: Colors.blue,
curve: Curves.easeInOut,
duration: Duration(milliseconds: 4000),
),