TodayButton constructor
const
TodayButton({
- Key? key,
- String? label,
- TodaySvgIcon? icon,
- TodayButtonSize size = TodayButtonSize.regular,
- TodayButtonType type = TodayButtonType.primary,
- TodayButtonIconDirection iconDirection = TodayButtonIconDirection.left,
- bool disabled = false,
- bool flat = false,
- required Function onPressed,
Implementation
const TodayButton({
super.key,
this.label,
this.icon,
this.size = TodayButtonSize.regular,
this.type = TodayButtonType.primary,
this.iconDirection = TodayButtonIconDirection.left,
this.disabled = false,
this.flat = false,
required this.onPressed,
});