SeniorBadgeBase constructor
const
SeniorBadgeBase({
- Key? key,
- required bool selected,
- required Color backgroundColor,
- required Color fontColor,
- required String label,
- SeniorBadgeShape shape = SeniorBadgeShape.chip,
- bool outlined = false,
- dynamic value,
- dynamic onSelect(
- dynamic
- bool disabled = false,
- Color? disabledBackgroundColor,
- Color? disabledFontColor,
- int? count,
- Color? selectedBackgroundColor,
- Color? selectedFontColor,
- Color? selectedIconColor,
- IconData? icon,
- Color? iconColor,
- Color? disabledIconColor,
- SeniorBadgeIconPosition? iconPosition = SeniorBadgeIconPosition.left,
- Color counterColor = SeniorColors.grayscale80,
- Color couterBackgroundColor = SeniorColors.grayscale30,
Implementation
const SeniorBadgeBase({
Key? key,
required this.selected,
required this.backgroundColor,
required this.fontColor,
required this.label,
this.shape = SeniorBadgeShape.chip,
this.outlined = false,
this.value,
this.onSelect,
this.disabled = false,
this.disabledBackgroundColor,
this.disabledFontColor,
this.count,
this.selectedBackgroundColor,
this.selectedFontColor,
this.selectedIconColor,
this.icon,
this.iconColor,
this.disabledIconColor,
this.iconPosition = SeniorBadgeIconPosition.left,
this.counterColor = SeniorColors.grayscale80,
this.couterBackgroundColor = SeniorColors.grayscale30,
}) : super(key: key);