onLongPress property
Called when the button is long-pressed.
If this callback, onPressed, onTapDown and onTapUp are null, then the button will be disabled.
See also:
- enabled, which is true if the button is enabled.
Implementation
final VoidCallback? onLongPress;