DisplayFeatureBridge enum

What DeviceGeometryScope publishes to MediaQuery.displayFeatures on iOS.

Flutter keeps dialogs, bottom sheets, menus and pickers on one side of a display feature that splits the window. Android reports its features natively; iOS does not, so this decides how much of iPhone Duo reaches it.

Inheritance
Available extensions

Values

none → const DisplayFeatureBridge

Nothing. Framework behavior does not change.

cutouts → const DisplayFeatureBridge

The active camera regions, as cutouts. Surfaces keep their full width.

full → const DisplayFeatureBridge

Cutouts, and the fold while the device is partially open, so modal surfaces open on one side of it. Give them an anchorPoint to choose the side; Apple moves alerts to the trailing side in book posture.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<DisplayFeatureBridge>
A constant List of the values in this enum, in order of their declaration.