flutter_launcher_icons_lego 1.0.1 copy "flutter_launcher_icons_lego: ^1.0.1" to clipboard
flutter_launcher_icons_lego: ^1.0.1 copied to clipboard

app icon, web favicon generator lego.

lego project pub package

flutter_launcher_icons_lego #

app icon, web favicon generator lego.

Installation #

  1. open terminal in the lego project root directory, enter the following command for install cli. and create a new lego project if you don't have one.
flutter pub global activate lego_cli
lego create
  1. in terminal, enter the following command for add lego to project.
lego add flutter_launcher_icons_lego
  1. change app icon png in assets/lego/flutter_launcher_icons_lego directory.

  2. modify in pubspec.yaml file below code block.

flutter_icons:
  image_path_android: "assets/lego/flutter_launcher_icons_lego/android.png"
  image_path_ios: "assets/lego/flutter_launcher_icons_lego/ios.png"
  android: true # can specify file name here e.g. "ic_launcher"
  ios: true # can specify file name here e.g. "My-Launcher-Icon"
  remove_alpha_ios: true
  adaptive_icon_background: "#ffffff" # only available for Android 8.0 devices and above
  adaptive_icon_foreground: "assets/lego/flutter_launcher_icons_lego/android.png" # only available for Android 8.0 devices and above
  web:
    generate: true
    image_path: "assets/lego/flutter_launcher_icons_lego/web.png"
    background_color: "#ffffff"
    theme_color: "#ffffff"
  1. enter the following command to install the module.
flutter pub run flutter_launcher_icons

Usage #

Usage here