TodayLink constructor

const TodayLink({
  1. Key? key,
  2. required String label,
  3. TodaySvgIcon? icon,
  4. TodayLinkStyle style = TodayLinkStyle.primary,
  5. TodayTextStyle fontStyle = TodayTextStyle.tdsFontRegularPlus,
  6. TodayLinkIconDirection direction = TodayLinkIconDirection.left,
  7. Color? staticColor,
  8. bool disabled = false,
  9. required Function onPressed,
})

Implementation

const TodayLink({
  super.key,
  required this.label,
  this.icon,
  this.style = TodayLinkStyle.primary,
  this.fontStyle = TodayTextStyle.tdsFontRegularPlus,
  this.direction = TodayLinkIconDirection.left,
  this.staticColor,
  this.disabled = false,
  required this.onPressed,
});