onPeak property Null safety

GestureForcePressPeakCallback? onPeak
read / write

A pointer is in contact with the screen and has just pressed with a force exceeding the peakPressure. This is an arbitrary second level action threshold and isn't necessarily the maximum possible device pressure (which is 1.0).

The position of the pointer is provided in the callback's details argument, which is a ForcePressDetails object.

Implementation

GestureForcePressPeakCallback? onPeak;