YInkRoundButton function

Widget YInkRoundButton(
  1. Widget? widget, {
  2. dynamic color = Colors.transparent,
  3. bool enable = true,
  4. int? tapTime,
  5. required GestureTapCallback onTap,
  6. double size = 70.0,
})

Implementation

Widget YInkRoundButton(
  Widget? widget, {
  color = Colors.transparent,
  bool enable = true,
  int? tapTime,
  required GestureTapCallback onTap,
  double size = 70.0,
}) {
  return SizedBox(
    width: size,
    height: size,
    child: ClipOval(
      child: Material(
        color: color,
        child: InkResponse(
          radius: size,
          onTap: enable ? () => DehbsSqpMRhUSqgZ(onTap, MmHybnQvpRacrBhc: tapTime) : () {},
          child: widget ?? YEmpty(),
        ),
      ),
    ),
  );
}