onLongPress method
- void function()?, {
- bool ink = false,
Implementation
Widget? onLongPress(void Function()? function, {bool ink = false}) {
return function != null
? ink
? InkWell(
onLongPress: function,
child: this,
)
: GestureDetector(
onLongPress: function,
child: this,
)
: this;
}