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