Flutter launcher icons issues

I having the flutter issues when I trying to add the icon for flutter application.

I created a directory in root folder, then another directory icons and add the icon image inside the folder.

This command is deprecated and replaced with "flutter pub run flutter_launcher_icons" ════════════════════════════════════════════ FLUTTER LAUNCHER ICONS (v0.12.0) ════════════════════════════════════════════

• Creating default icons Android

✕ Could not generate launcher icons

✗ ERROR: InvalidConfigException Missing "image_path" or "image_path_android" + "image_path_ios" within configuration pub finished with exit code 2

That pretty much try again and again.

Then I figure out this way in pubspec.yaml

  flutter_launcher_icons: ^0.12.0

flutter_icons:
  android: true # should be bool or path to icon
  ios: true
  image_path: "asset/icons/1024.png" # path icon
  remove_alpha_ios: true

After that, I type the command below into terminal

1) flutter pub get

2) flutter pub run flutter_launcher_icons

Below is the outcome!

════════════════════════════════════════════ FLUTTER LAUNCHER ICONS (v0.12.0) ════════════════════════════════════════════

• Creating default icons Android • Overwriting the default Android launcher icon with a new icon

WARNING: Icons with alpha channel are not allowed in the Apple App Store. Set "remove_alpha_ios: true" to remove it.

Yuhooo!!