TodayButton constructor
const
TodayButton({
- Key? key,
- String? label,
- Widget? badge,
- TodaySvgIcon? icon,
- Widget? customIcon,
- TodayButtonSize size = TodayButtonSize.regular,
- TodayButtonType type = TodayButtonType.primary,
- TodayButtonIconDirection iconDirection = TodayButtonIconDirection.left,
- bool disabled = false,
- bool flat = false,
- bool invisible = false,
- TodayColor? iconColor,
- Color? labelColor,
- int activeCount = 0,
- required Function onPressed,
Implementation
const TodayButton({
super.key,
this.label,
this.badge,
this.icon,
this.customIcon,
this.size = TodayButtonSize.regular,
this.type = TodayButtonType.primary,
this.iconDirection = TodayButtonIconDirection.left,
this.disabled = false,
this.flat = false,
this.invisible = false,
this.iconColor,
this.labelColor,
this.activeCount = 0,
required this.onPressed,
});