g2x_custom_toaster

image

g2x_custom_toaster usage

G2xCustomToaster.showOnTop(
    icon: Icons.notifications,
    title: "",
    mensage: "",
    navigationKey: _navigationKey,//required navigarionKey(MaterialApp)
    onTap: (){
      //click on notification
    },
    onFinish: (){
      //callback finish
    },
    //animation duration
    millisecondsToDismissStart: 5000 
    millisecondsToDismissAnd
);

Libraries

g2x_custom_toaster