TodayButton constructor

const TodayButton({
  1. Key? key,
  2. String? label,
  3. TodaySvgIcon? icon,
  4. TodayButtonSize size = TodayButtonSize.regular,
  5. TodayButtonType type = TodayButtonType.primary,
  6. TodayButtonIconDirection iconDirection = TodayButtonIconDirection.left,
  7. bool disabled = false,
  8. bool flat = false,
  9. 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,
});