How to solve this type of error "Flutter Local Notification Error : 'int java.lang.Integer.intValue()' on a null object "

In this article, I will share with you How to solve flutter Local notification errors like "int java.lang.Integer.intvalue() on a null object

First, check this line of code:

 var initializationSettingsAndroid = new AndroidInitializationSettings('app_icon');

If you see "app_icon" then you have to change  with the below line of code:

var initializationSettingsAndroid = new AndroidInitializationSettings('@mipmap/ic_launcher');

Yah!! your error is gone now.....

Tags: