toClickableLabel method
Widget
toClickableLabel({
- dynamic onTap(
- dynamic
- VoidCallback? onLongPress,
- VoidCallback? onDoubleTap,
- TextStyle? style,
- Color? textcolor,
- String? format,
- bool? showRipple,
- Color? rippleColor,
- bool isIcon = false,
- double? iconSize,
- int? maxLines,
- TextOverflow? overflow,
Implementation
Widget toClickableLabel({
Function(dynamic)? onTap,
VoidCallback? onLongPress,
VoidCallback? onDoubleTap,
TextStyle? style,
Color? textcolor,
String? format,
bool? showRipple,
Color? rippleColor,
bool isIcon = false,
double? iconSize,
int? maxLines, // ✅ Thêm vào extension
TextOverflow? overflow,
}) {
return CyberLabel(
text: this,
onLeaver: onTap,
style: style,
textcolor: textcolor,
format: format,
showRipple: showRipple,
rippleColor: rippleColor,
isIcon: isIcon,
iconSize: iconSize,
maxLines: maxLines,
overflow: overflow,
);
}