Skip to content
pubscout

flutter_badged

2.0.3, released 4 years ago by an unverified publisher

A single-purpose Flutter widget for displaying a badge over icons or other elements.

WASM-ready
$ flutter pub add flutter_badged
Source repository

What it does

Provides a FlutterBadge widget to render count badges on icons, images, or anywhere in the widget tree. Supports customization of badge colors, text colors, border radius, and positioning.

AI-written summary of version 2.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to show notification counts or markers on bottom navigation items or drawers
  • You want a simple badge overlay on icons without complex custom layout code

Skip it when

  • You need complex state management for badges across a large application architecture
  • You require non-numeric or rich content badges that go beyond basic item counts

Strengths

  • Simple API with straightforward configuration options
  • Supports custom colors, text styles, and badge positions

Weaknesses

  • Limited to basic count-based badges
  • Lacks advanced animation or transition options out of the box

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
FlutterBadge(
          icon: Icon(Icons.message),
          borderRadius: 20.0,
          itemCount: 3,
        )

Alternatives

Packages that do the same job and could replace flutter_badged.