NiceBadge constructor
const
NiceBadge({
- Key? key,
- required String label,
- Color? color,
- NiceBadgeVariant variant = NiceBadgeVariant.filled,
- NiceBadgeSize size = NiceBadgeSize.medium,
- IconData? icon,
- bool removable = false,
- VoidCallback? onRemove,
- VoidCallback? onTap,
Implementation
const NiceBadge({
super.key,
required this.label,
this.color,
this.variant = NiceBadgeVariant.filled,
this.size = NiceBadgeSize.medium,
this.icon,
this.removable = false,
this.onRemove,
this.onTap,
});