| name | icon-launcher-generator |
| description | Configures and runs the `flutter_launcher_icons` package to generate native app icons for iOS and Android. |
Instructions
When the user asks to generate app icons or update the app logo:
- Ensure
flutter_launcher_icons is in the dev_dependencies of the pubspec.yaml file (use the pubspec-manager skill or check manually).
- Ask the user for the path to the original icon image (e.g.,
assets/icon/app_icon.png).
- Add the configuration to the bottom of the
pubspec.yaml file if it's not present:
flutter_launcher_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/app_icon.png"
- Run the generator using the
run_in_terminal tool:
dart run flutter_launcher_icons
- Inform the user that the native icons have been successfully replaced.