inkWell method
Add tap handler with a material ripple effect.
Implementation
Widget inkWell(VoidCallback action, {BorderRadius? borderRadius}) {
return Material(
color: Colors.transparent,
child: InkWell(
onTap: action,
borderRadius: borderRadius,
child: this,
),
);
}