icons_launcher 2.0.5 icon indicating copy to clipboard operation
icons_launcher: ^2.0.5 copied to clipboard

A command-line tool that simplifies the task of updating your Flutter app's launcher icon.

example/README.md

Installation #

flutter pub add --dev icons_launcher

How to use #

  • Add config to pubspec.yaml or create icons_launcher.yaml at root of project.
icons_launcher:
  image_path: 'assets/ic_logo_border.png'
  platforms:
    android:
      enable: true
    ios:
      enable: true
  • Use different images for each platform
icons_launcher:
  image_path: 'assets/ic_logo_border.png'
  platforms:
    android:
      enable: true
      image_path: 'assets/ic_logo_border.png'
      # adaptive_background_color: '#ffffff'
      adaptive_background_image: 'assets/ic_background.png'
      adaptive_foreground_image: 'assets/ic_foreground.png'
      adaptive_round_image: 'assets/ic_logo_round.png'
    ios:
      enable: true
      image_path: 'assets/ic_logo_rectangle.png'
    web:
      enable: true
      image_path: 'assets/ic_logo_border.png'
      favicon_path: 'assets/ic_logo_round.png'
    macos:
      enable: false
      image_path: 'assets/ic_logo_border.png'
    windows:
      enable: false
      image_path: 'assets/ic_logo_border.png'
    linux:
      enable: false
      image_path: 'assets/ic_logo_border.png'

After configured, now you can run generation

flutter pub get
flutter pub run icons_launcher:create

Or with custom yaml file

flutter pub get
flutter pub run icons_launcher:create --path <your config file name here>

Or flavor app (Example)

flutter pub get
flutter pub run icons_launcher:create --flavor <your flavor>
173
likes
140
pub points
95%
popularity

Publisher

verified publisher iconmrrhak.com

A command-line tool that simplifies the task of updating your Flutter app's launcher icon.

Homepage
Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

args, image, path, universal_io, yaml

More

Packages that depend on icons_launcher