systemGestureInsets property
override
The system gesture insets to use for this test.
Defaults to the value provided by FlutterView.systemGestureInsets. This can only be set in a test environment to emulate different view configurations. A standard FlutterView is not mutable from the framework.
See also:
- FakeViewPadding which is used to set this value for testing
- FlutterView.systemGestureInsets for the standard implementation
- resetSystemGestureInsets to reset this value specifically
- reset to reset all test values for this view
Implementation
@override
FakeViewPadding get systemGestureInsets => _systemGestureInsets ?? FakeViewPadding._wrap(_view.systemGestureInsets);
Implementation
set systemGestureInsets(FakeViewPadding value) {
_systemGestureInsets = value;
platformDispatcher.onMetricsChanged?.call();
}