ViewConfiguration constructor Null safety
- {FlutterView? window,
- double devicePixelRatio = 1.0,
- Rect geometry = Rect.zero,
- bool visible = false,
- WindowPadding viewInsets = WindowPadding.zero,
- WindowPadding viewPadding = WindowPadding.zero,
- WindowPadding systemGestureInsets = WindowPadding.zero,
- WindowPadding padding = WindowPadding.zero,
- GestureSettings gestureSettings = const GestureSettings(),
- List<
DisplayFeature> displayFeatures = const <DisplayFeature>[]}
A const constructor for an immutable ViewConfiguration.
Implementation
const ViewConfiguration({
this.window,
this.devicePixelRatio = 1.0,
this.geometry = Rect.zero,
this.visible = false,
this.viewInsets = WindowPadding.zero,
this.viewPadding = WindowPadding.zero,
this.systemGestureInsets = WindowPadding.zero,
this.padding = WindowPadding.zero,
this.gestureSettings = const GestureSettings(),
this.displayFeatures = const <DisplayFeature>[],
});