dual_screen 1.0.4 copy "dual_screen: ^1.0.4" to clipboard
dual_screen: ^1.0.4 copied to clipboard

PlatformAndroid

Foldable and dual-screen support, like the TwoPane widget and hinge angle sensor data.

1.0.4 #

  • Updated AGP to 7 and kotlin to 1.7

1.0.3 #

  • 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 use MediaQuery.of(context).hinge for logic related to the hinge.

1.0.2+2 #

  • Removed requirement for flutter 2.11

1.0.2 #

  • Added compatibility with current flutter stable channel

1.0.1 #

  • Added TwoPane widget

1.0.0+3 #

  • Updated Readme

1.0.0+2 #

  • DualScreenInfo.hingeAngleEvents now caches the last value
  • Updated Readme

1.0.0 #

  • DualScreenInfo.hingeAngleEvents: Broadcast stream of events from the device hinge angle sensor
  • DualScreenInfo.hasHingeAngleSensor: Future returning true if the device has a hinge angle sensor
143
likes
150
points
8.03k
downloads

Publisher

verified publishermicrosoft.com

Weekly Downloads

Foldable and dual-screen support, like the TwoPane widget and hinge angle sensor data.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on dual_screen