onLongPress property

VoidCallback? onLongPress
final

If onPressed and onLongPress callbacks are null, then the button will be disabled.

Implementation

final VoidCallback? onLongPress;