flutter_launcher_icons 0.3.2 copy "flutter_launcher_icons: ^0.3.2" to clipboard
flutter_launcher_icons: ^0.3.2 copied to clipboard

outdatedDart 1 only

A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the opt [...]

Flutter Launcher Icons #

A command-line tool which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future.

✨ What's New #

Version 0.3.0 (1st May 2018)
  • Fixed issue where icons produced weren't the correct size (Due to images not with a 1:1 aspect ration)
  • Improved quality of smaller icons produced (Thanks to PR #17 - Thank you!)
  • Updated console printed messages to keep them consistent
  • Added example folder to GitHub project

🔍 Guide #

  1. Add dependency to your Flutter project's pubspec.yaml below any existing dependencies
dev_dependencies: 
  flutter_test:
    sdk: flutter
    
  flutter_launcher_icons: "^0.3.2"
  1. Within the same pubspec.yaml file, add flutter_icons config section
dev_dependencies: 
  flutter_test:
    sdk: flutter
    
  flutter_launcher_icons: "^0.3.2"
  
flutter_icons:
  image_path: "icon/icon.png" 
  android: true
  ios: "Example-Icon"
#### Attributes: 
image_path: The location of the icon image file which you want to use as the app launcher icon

android/ios: True / False - Set as true if you want the icons generated for that platform to replace the existing launcher icon

OR

android/ios: <icon name> - Alternatively, enter an icon name if you wish to use a new launcher icon in the project whilst keeping the old one.
  1. Run the command to generate the icons
flutter pub get
flutter pub pub run flutter_launcher_icons:main

👀 Example #

Video Example

Note: This is showing v0.0.5.

Special thanks #

  • Thanks to Brendan Duncan for the underlying image package to transform the pics.
  • Big thank you to all the contributors to the project. Every PR / reported issue is greatly appreciated!
6611
likes
0
pub points
100%
popularity

Publisher

verified publisherfluttercommunity.dev

A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

dart_config, image

More

Packages that depend on flutter_launcher_icons