systemGestureInsets property
The areas along the edges of the display where the system consumes certain input events and blocks delivery of those events to the app.
Starting with Android Q, simple swipe gestures that start within the systemGestureInsets areas are used by the system for page navigation and may not be delivered to the app. Taps and swipe gestures that begin with a long-press are delivered to the app, but simple press-drag-release swipe gestures which begin within the area defined by systemGestureInsets may not be.
Apps should avoid locating gesture detectors within the system gesture insets area. Apps should feel free to put visual elements within this area.
This property is currently only expected to be set to a non-default value on Android starting with version Q.
By default, Sliders expand to fill the available width. So, we pad the left and right sides.
To create a local project with this code sample, run:
flutter create --sample=widgets.MediaQueryData.systemGestureInsets.1 mysample
Implementation
final EdgeInsets systemGestureInsets;