getInkWell function

dynamic getInkWell({
  1. dynamic widget,
  2. dynamic ontap,
  3. dynamic onLongPressed,
})

Implementation

getInkWell({widget, ontap, onLongPressed}) {
  return InkWell(
    onLongPress: onLongPressed,
    child: widget,
    onTap: ontap,
  );
}