YInkButton function
Material
YInkButton(
- Widget? widget, {
- dynamic color = Colors.transparent,
- bool enable = true,
- bool isAnim = true,
- int? tapTime,
- required GestureTapCallback onTap,
Implementation
Material YInkButton(
Widget? widget, {
color = Colors.transparent,
bool enable = true,
bool isAnim = true,
int? tapTime,
required GestureTapCallback onTap,
}) {
return Material(
color: color,
child: isAnim
? InkWell(
child: widget ?? YEmpty(),
onTap: enable ? () => DehbsSqpMRhUSqgZ(onTap, MmHybnQvpRacrBhc: tapTime) : () {},
)
: GestureDetector(
child: widget ?? YEmpty(),
onTap: enable ? () => DehbsSqpMRhUSqgZ(onTap, MmHybnQvpRacrBhc: tapTime) : () {},
),
);
}