- Updated AGP to 7 and kotlin to 1.7
- TwoPane no longer removes display features from child panes. This allows child panes to know if the device has display features.
- TwoPane has a new property called
allowedOverrides
. This allows for finer control over what layouts are possible on foldable devices. - Extension method
hinge
was added to MediaQueryData. This allows developers to useMediaQuery.of(context).hinge
for logic related to the hinge.
- Removed requirement for flutter 2.11
- Added compatibility with current flutter stable channel
- Added TwoPane widget
- Updated Readme
DualScreenInfo.hingeAngleEvents
now caches the last value- Updated Readme
DualScreenInfo.hingeAngleEvents
: Broadcast stream of events from the device hinge angle sensorDualScreenInfo.hasHingeAngleSensor
: Future returning true if the device has a hinge angle sensor