onLongPress property

VoidCallback? onLongPress
final

A callback for when the item is long pressed.

The item is not interactable if the following are all null:

Implementation

final VoidCallback? onLongPress;