onInkTap method
InkWell
onInkTap(
- VoidCallback callback, {
- Color? splashColor,
- Color? focusColor,
- Color? hoverColor,
- bool? enableFeedback,
- double? radius,
- BorderRadius? borderRadius,
- MouseCursor? mouseCursor,
Wraps the current Widget
in an InkWell
widget with a tap gesture callback and customizable ink splash parameters.
Implementation
InkWell onInkTap(
VoidCallback callback, {
Color? splashColor,
Color? focusColor,
Color? hoverColor,
bool? enableFeedback,
double? radius,
BorderRadius? borderRadius,
MouseCursor? mouseCursor,
}) {
return InkWell(
onTap: callback,
splashColor: splashColor,
focusColor: focusColor,
hoverColor: hoverColor,
enableFeedback: enableFeedback,
radius: radius,
borderRadius: borderRadius,
mouseCursor: mouseCursor,
child: this,
);
}