getInkWell static method

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

Implementation

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