TDLink constructor
const
TDLink({
- Key? key,
- required String label,
- Uri? uri,
- Icon? prefixIcon,
- Icon? suffixIcon,
- LinkClick? linkClick,
- TDLinkType type = TDLinkType.basic,
- TDLinkStyle style = TDLinkStyle.defaultStyle,
- TDLinkState state = TDLinkState.normal,
- TDLinkSize size = TDLinkSize.medium,
- Color? color,
- double? iconSize,
- double? fontSize,
- double? leftGapWithIcon,
- 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);