toIconLabel method

Widget toIconLabel({
  1. dynamic onTap(
    1. dynamic
    )?,
  2. double? size,
  3. Color? color,
  4. bool? showRipple,
  5. Color? rippleColor,
})

Implementation

Widget toIconLabel({
  Function(dynamic)? onTap,
  double? size,
  Color? color,
  bool? showRipple,
  Color? rippleColor,
}) {
  return CyberLabel(
    text: this,
    isIcon: true,
    iconSize: size,
    textcolor: color,
    onLeaver: onTap,
    showRipple: showRipple,
    rippleColor: rippleColor,
  );
}