androidflutternotificationslauncher-icon

Flutter PUSH Notification icon not showing


I tried to add flutter app icon by using a package flutter_launcher_icon app icon is correct but icons shows in push notification show as a white box Notification Icon Shows as a white box

enter image description here

Resource File

I added icons by using a package [flutter_launcher_icons] pubspec.yaml file

Expected Output enter image description here


Solution

    1. Go to: Android Asset Studio
    1. Extract it and copy the drawable-* folders into your Flutter Android app at:
    android/app/src/main/res/drawable-hdpi/ic_stat_your_icon_name.png
    android/app/src/main/res/drawable-mdpi/ic_stat_your_icon_name.png
    

    Notification icons are white-only with transparent background