icons_launcher 2.1.7 copy "icons_launcher: ^2.1.7" to clipboard
icons_launcher: ^2.1.7 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'
      adaptive_monochrome_image: 'assets/ic_logo_monochrome.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
dart run icons_launcher:create

Or with custom yaml file

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

Or flavor app (Example)

flutter pub get
dart icons_launcher:create --flavor <your flavor>
560
likes
140
pub points
97%
popularity
screenshot

Publisher

verified publishermrrhak.com

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

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#icons #app-icon #icon-launcher

Documentation

API reference

Funding

Consider supporting this project:

ko-fi.com

License

MIT (LICENSE)

Dependencies

args, image, path, universal_io, yaml

More

Packages that depend on icons_launcher