v1.0.0
icon_badge
一个简单的 Flutter 图标小部件,带有通知徽章以显示项目数量。
32喜欢 157近 30 天下载140Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个简单的 Flutter 图标,带有显示项目数量的通知徽章。
以下为英文项目原文快照,最新内容请访问 GitHub。
Icon with badge for notifications
How to use This widget can be used in appbar, bottom navigation and drawer.
Usage:
IconBadge(
icon: Icon(Icons.notifications_none),
itemCount: 0,
badgeColor: Colors.red,
itemColor: Colors.white,
hideZero: true,
onTap: () {
print('test');
},
),
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗