Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

a flutter toast and notification library

License

NotificationsYou must be signed in to change notification settings

boyan01/overlay_support

Repository files navigation

PubPubCIcodecov

Provider support foroverlay, make it easy to buildtoast andIn-App notification.

this library support ALL platform

Interaction

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

How To Use

  1. add dependencies into you projectpubspec.yaml file

    dependencies:overlay_support:latest_version
    • the latest version isPub
    • For project without migrate to null safety, please use versionoverlay_support: 1.0.5-hotfix1
  2. wrap your AppWidget withOverlaySupport

returnOverlaySupport.global(child:MaterialApp());
  1. show toast or simple notifications
import'package:overlay_support/overlay_support.dart';voidonClick() {// 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 helpthe improvement of the usability of this project. Thanks.


[8]ページ先頭

©2009-2025 Movatter.jp