onLongPress property Null safety
read / write
Called when a long press gesture by a primary button has been recognized.
This is equivalent to (and is called immediately after) onLongPressStart. The only difference between the two is that this callback does not contain details of the position at which the pointer initially contacted the screen.
- kPrimaryButton, the button this callback responds to.