v1.1.2in_app_notification
一个 Flutter 包,用于显示任何 Widget 的自定义应用内通知。
188喜欢 5270近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个用于显示自定义应用内通知的 Flutter 包。
以下为英文项目原文快照,最新内容请访问 GitHub。
A Flutter package to show custom in-app notification with any Widgets.
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.
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^1.11.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗