nullableGestureSettings property
DeviceGestureSettings?
get
nullableGestureSettings
Returns the gesture settings for the nearest MediaQuery
ancestor or throws an exception if none exists.
Example:
DeviceGestureSettings? gestureSettings = context.nullableGestureSettings;
Implementation
DeviceGestureSettings? get nullableGestureSettings =>
MediaQuery.maybeGestureSettingsOf(this);