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
Preview
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
Primary
Preview
Secondary
Preview
Outline
Preview
Destructive
Preview
Last updated on