Skip to Content
Forui 0.12.0 is released 🎉

Badge

A badge draws attention to specific information, such as labels and counts. Use badges to display status, notifications, or small pieces of information that need to stand out.

Overview

CLI

To generate and customize this style:

dart run forui style create badges

Usage

FBadge(...)

FBadge( style: FBadgeStyle.primary, child: const Text('Badge'), );

FBadge.raw(...)

FBadge.raw( style: FBadgeStyle.primary, builder: (context, style) => Text('Badge'), );

Examples

Variants

With Counters

Custom Styling

Last updated on