v2.1.0
overlay_support
provider 對疊加層的支援,輕鬆建構吐司與內部通知
701喜歡 10萬近 30 天下載140Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個 Flutter 吐司和通知程式庫
以下為英文專案原文快照,最新內容請造訪 GitHub。
Provider support for overlay, make it easy to build toast and In-App notification.
this library support ALL platform
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
overlay_support: 1.0.5-hotfix1wrap your AppWidget with OverlaySupport
return OverlaySupport.global(child: MaterialApp());
import 'package:overlay_support/overlay_support.dart';
void onClick() {
// 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.