Skip to content

cc-shifo/overlay_support

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

overlay_support

Pub CI 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 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

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 83.7%
  • Swift 4.7%
  • C++ 4.7%
  • Batchfile 4.5%
  • Objective-C 1.5%
  • Kotlin 0.6%
  • HTML 0.3%