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

outdatedDart 1 only

Generate ios/android launcher icons for flutter

Flutter Launcher Icons #

This command-line app will take a launcher image specified and export it to iOS & Android sizes.

  • !This will replace any icons in the project folder.
  • The project is is progress so not all features are available

Current Features: #

  • Convert icon to android/ios version images and store them in there respective folders.

Features in POC #

  • Metadata to set icon attributes like.
    • Round images
    • Padding
    • Shadow

How to use. #

  • Add dependency to pubspec.yaml
dependencies: 
  flutter_launcher_icons: "^0.1.0"
  • Add flutter_icons config section to pubspec file
flutter_icons:
  image_path: "icon/icon.png" 
  android: true
  ios: true

#### Attributes: 
// image_path: The location of the squared image file to convert

// android/ios: Whether to generate the icons or not. 
  • Run the command to generate the images.
flutter pub pub run flutter_launcher_icons:main

Special thanks #

  • Brendan Duncan for the underlying image package to transform the pics.
  • Mark O'Sullivan for adding the iOS part of the process