panSlop property Null safety

double? panSlop

The touch slop value for pan gestures, in logical pixels, or null if it was not set.

Implementation

double? get panSlop => touchSlop != null ? (touchSlop! * 2) : null;