SafaehDisplayCutoutLayout class
Physical screen geometry shared by chrome on either side of the display.
Constructors
-
SafaehDisplayCutoutLayout({required Size size, required List<
Rect> cutouts, required EdgeInsets padding}) - SafaehDisplayCutoutLayout.of(BuildContext context)
-
factory
Properties
-
cutouts
→ List<
Rect> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
final
- systemPadding → EdgeInsets
-
Keep system navigation insets, replacing camera strips with local checks.
no setter
Methods
-
avoid(
Rect target, Rect viewport) → Rect - Keep a floating control at its preferred height when a horizontal move clears the camera. Consider vertical positions only when needed.
-
insetsForBand(
{required double top, required double bottom}) → EdgeInsets -
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