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.