Search packages, repositories and app categories

Package detailsv2.0.3

flutter_badged

Badge for showing with icon. You can use it in the bottom menu, navigation drawer or in any place you want.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
352
Likes
24
Pub points
150

Install package

flutter pub add flutter_badged

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package for displaying badges with icons, ideal for highlighting notifications or status indicators. It supports various placements such as in bottom navigation menus, navigation drawers, or any custom UI layout. The badge is customizable and works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux. Designed for simplicity and integration, it enhances user interface elements with visual feedback.

Use cases

  • Displaying notification counts
  • Highlighting active items in navigation
  • Indicating unread messages
  • Custom UI enhancements
  • Showing status indicators
  • Enhancing bottom app bars

Key features

  • Icon-based badge rendering
  • Cross-platform compatibility
  • Flexible positioning
  • Customizable appearance
  • Easy integration with existing widgets
  • Supports multiple platforms

Suitable for

  • Mobile app developers
  • UI designers seeking visual feedback
  • Apps with navigation drawers or bottom tabs
  • Projects requiring lightweight badge components
  • Developers targeting multiple platforms

Considerations

  • Limited to icon-based badges
  • No built-in animation support
  • Requires manual styling for advanced designs
  • Not suitable for complex badge content
  • Depends on external repository for updates
  • Minimal documentation beyond basic usage

Original README

Original README snapshot from the linked source repository. Visit the repository 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,
        )

Categories

Source repository

Projects using this package

No data available yet.