components/foldable library

Classes

CNFoldable
Foldable-device state for iPhone Duo: the hinge, the system's vertical bar, and the fold and camera regions.
CNFoldableScope
Starts CNFoldable for its subtree, exposes the state to CNFoldable.of, and adds the active fold and camera regions to MediaQuery.displayFeatures.
CNFoldableState
Everything CNFoldable knows about the screen the Flutter view is on.
CNHinge
The hinge of a foldable iPhone, as reported by UIHingeInteraction.
CNReservedRegion
A part of the screen content should stay clear of: the fold (CNReservedRegionKind.division) or the camera (CNReservedRegionKind.occlusion).

Enums

CNHingeStatus
Position of a foldable iPhone's hinge.
CNReservedRegionKind
The kind of a CNReservedRegion.
CNVerticalBarSide
Which physical side of the screen the system's vertical bar is on.