FLUTTER ECOSYSTEM

Dicksenz/icon_badge

一个简单的 Flutter 图标,带有显示项目数量的通知徽章。

图标徽章 项目封面
Stars
5
Forks
1
最近推送(UTC)
2021年3月14日
项目状态
未归档
Dicksen GitHub avatar
GITHUB User

Dicksen ↗

Flutter | Android | iOS | React Native developer, Contribute to the Dart community and Flutter package creator. Postgraduate in Mobile Application Development.

Mauritius
语言DartKotlinSwiftObjective-C

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

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');
        },
      ),