v1.1.2in_app_notification
一個 Flutter 套件,用於顯示任何 Widget 的自訂應用內通知。
188喜歡 3300近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
一個用於顯示自訂應用內通知的 Flutter 套件。
{"sdk":"flutter"}{"sdk":"flutter"}^1.11.0以下為英文專案原文快照,最新內容請造訪 GitHub。
A Flutter package to show custom in-app notification with any Widgets.
https://raw.githubusercontent.com/wiki/cb-cloud/flutter_in_app_notification/assets/doc/top.gif
Import it.
dependencies:
in_app_notification: <latest-version>
import 'package:in_app_notification/in_app_notification.dart';
Place InAppNotification Widget into your app.
return InAppNotification(
child: MaterialApp(
title: 'In-App Notification Demo',
home: const HomePage(),
),
);
Invoke show() static method of InAppNotification.
InAppNotification.show(
child: NotificationBody(count: _count),
context: context,
onTap: () => print('Notification tapped!'),
);
See Discussions. If you have some idea or proposal, feel free to create new one.
If you have a question or found issue, feel free to create an issue.