Search packages, repositories and app categories

GitHub repositorymishatron/FlutterBadge

FlutterBadge

Flutter package that contains badge widget

FlutterBadge project cover
Stars
5
Forks
4
Last push (UTC)
Oct 18, 2022
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

flutter_badged

Badge for showing with icon

How to use

This widget can be used anywhere, but example will be with bottom navigation.

Different cases of usage:

FlutterBadge(
          icon: Icon(Icons.message),
          borderRadius: 20.0,
          itemCount: 3,
        )
FlutterBadge(
          icon: Image.asset("assets/ic_message.png"),
          hideZeroCount: false,
          badgeColor: Colors.greenAccent,
          itemCount: 15,
        )
FlutterBadge(
          icon: Icon(Icons.home),
          badgeColor: Colors.greenAccent,
          badgeTextColor: Colors.red,
          position: BadgePosition.bottomLeft(),
          itemCount: 231,
        )
Mykhailo Krentsin GitHub avatar
GitHub author

Mykhailo Krentsin ↗

A student of Vinnytsia National Technical University. Android & Flutter developer

Vinnytsia, UkraineOfficial website ↗
LanguagesDartHTMLSwiftKotlinObjective-C

Packages published by this repository

Dependencies used

Dependency list 2 items

  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗