Badge constructor
Badge({
- required String label,
- String? message,
- int? labelWidth,
- int? messageWidth,
- BadgeTheme? theme,
Implementation
Badge({
required this.label,
this.message,
this.labelWidth,
this.messageWidth,
BadgeTheme? theme,
}) : theme = theme ?? BadgeTheme.primary;