onLongPress property
If the user continues to press for a certain period of time without lifting their hand.
- Change longPressDuration to define the minimum duration needed to define if it is a long press.
Implementation
final OnLongPress? onLongPress;