Overview
IconBadge is a lightweight Flutter package that adds a notification badge to any icon, displaying a numeric count. It's ideal for showing unread messages, pending items, or alerts in a clean, customizable way. The badge appears as a small circular overlay on the corner of the icon, supporting various colors, sizes, and positioning options. Designed for simplicity and performance, it works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux.
Use cases
- Showing unread message counts
- Displaying pending task notifications
- Indicating cart item quantities
- Highlighting new content alerts
- Visualizing user activity indicators
Key features
- Customizable badge size and color
- Positionable badge on icon corners
- Supports numeric and text labels
- Lightweight and performant
- Cross-platform compatibility
- Easy integration with existing icon widgets
Suitable for
- Mobile app UIs with notification indicators
- Dashboard widgets with status badges
- E-commerce apps for cart counters
- Messaging or social media interfaces
- Simple, clean notification displays
Considerations
- Limited to basic badge styling
- No built-in animation support
- Does not handle overflow beyond single-digit numbers
- Best suited for low to moderate badge values
- Requires manual handling of dynamic updates