onLongPress property

VoidCallback? onLongPress
final

The callback that is called when long-pressed.

If this callback and onPress are null, then PressableBox will be disabled automatically.

Implementation

final VoidCallback? onLongPress;