Skip to content

sleonardo/overlay_support

 
 

Repository files navigation

overlay_support

Pub Build Status codecov

provider support for overlay, easy to build toast and internal notification.

this library support platform Android、iOS 、Linux、macOS、Windows and Web

Interation

If you want to see the ui effect of this library, just click here https://boyan01.github.io/overlay_support/#/

How To Use

  1. add dependencies into you project pubspec.yaml file
dependencies:
  overlay_support: latest_version
  1. wrap your AppWidget with OverlaySupport
  return OverlaySupport(child: MaterialApp());
  1. show toast or simple notifications
//popup a tost
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

License

see License File

End

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.

About

a flutter toast and notification library

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Dart 83.8%
  • C++ 4.9%
  • Batchfile 4.8%
  • Swift 4.2%
  • Objective-C 1.5%
  • Java 0.8%