TDLink constructor

const TDLink({
  1. Key? key,
  2. required String label,
  3. Uri? uri,
  4. Icon? prefixIcon,
  5. Icon? suffixIcon,
  6. LinkClick? linkClick,
  7. TDLinkType type = TDLinkType.basic,
  8. TDLinkStyle style = TDLinkStyle.defaultStyle,
  9. TDLinkState state = TDLinkState.normal,
  10. TDLinkSize size = TDLinkSize.medium,
  11. Color? color,
  12. double? iconSize,
  13. double? fontSize,
  14. double? leftGapWithIcon,
  15. double? rightGapWithIcon,
})

Implementation

const TDLink({
  Key? key,
  required this.label,
  this.uri,
  this.prefixIcon,
  this.suffixIcon,
  this.linkClick,
  this.type = TDLinkType.basic,
  this.style = TDLinkStyle.defaultStyle,
  this.state = TDLinkState.normal,
  this.size = TDLinkSize.medium,
  this.color,
  this.iconSize,
  this.fontSize,
  this.leftGapWithIcon,
  this.rightGapWithIcon,
}) : super(key: key);