g2x_custom_toaster 0.0.2
g2x_custom_toaster: ^0.0.2

Flutter Android iOS web

display a toaster notification with animation, the toaster notification is removed automatically or by a horizontal swipe

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
);
3
likes
110
pub points
0%
popularity

display a toaster notification with animation, the toaster notification is removed automatically or by a horizontal swipe

Homepage

Documentation

API reference

Uploader

jogos.coisas@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on g2x_custom_toaster