provider support for overlay, easy to build toast and internal notification.
this library support platform Android、iOS 、Linux、macOS、Windows and Web
If you want to see the ui effect of this library, just click here https://boyan01.github.io/overlay_support/#/
- add dependencies into you project pubspec.yaml file
dependencies:
overlay_support: latest_version
- wrap your AppWidget with
OverlaySupport
return OverlaySupport(child: MaterialApp());
- show toast or simple notifications
//popup a toast
toast('Hello world!');
//show a notification at top of screen
showSimpleNotification(
Text("this is a message from simple notification"),
background: Colors.green);
more instructions check here : example/readme.md
see License File
if you have some suggestion or advice, please open an issue to let me known. This will greatly help the improvement of the usability of this project. Thanks.