YInkRoundButton function
Widget
YInkRoundButton(
- Widget? widget, {
- dynamic color = Colors.transparent,
- bool enable = true,
- int? tapTime,
- required GestureTapCallback onTap,
- 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(),
),
),
),
);
}