onLongPress method

Widget onLongPress(
  1. dynamic onLongPress()
)

Implementation

Widget onLongPress(Function() onLongPress) {
  return InkWell(
    onLongPress: onLongPress,
    child: this,
  );
}