Skip to main content

dual_screen_hinge 0.2.1 copy "dual_screen_hinge: ^0.2.1" to clipboard
dual_screen_hinge: ^0.2.1 copied to clipboard

iPhone Duo-first foldable support for Flutter: hinge angles, postures, reserved regions, screen roles, and Android display modes.

0.2.1 #

  • Fix iOS builds with Xcode 27.0 SDKs that do not declare UIHingeInteraction.
  • Detect hinge and reserved-region APIs in public UIKit headers and Swift interfaces for CocoaPods and Swift Package Manager instead of relying on toolchain version numbers.
  • Check device and simulator SDKs independently in CocoaPods and keep the unsupported fallback when APIs are absent. Existing Podfile workarounds can be removed.

0.2.0 #

  • Adds iOS 27.1 folding and camera reserved-region geometry with active-state metadata.
  • Maps active iPhone Duo division regions into the cross-platform display-feature model.
  • Makes iOS screen-role inference conservative in Split View and other ambiguous layouts.
  • Positions the package as iPhone Duo-first on pub.dev with the iphone-duo topic and a feature screenshot.
  • Expands the iPhone Duo example, documentation, compatibility guidance, and test coverage.

0.1.1 #

  • Fix the README logo rendering on pub.dev.

0.1.0 #

  • Adds the schema-v1 shared event stream and immutable Dart state model.
  • Adds continuous Android hinge-angle telemetry and AndroidX WindowManager fold metadata.
  • Adds Android rear-display transfer and dual-screen presentation with a secondary Flutter engine.
  • Adds iOS 27 hinge/status and compact/regular screen-role bridging with safe iOS 13–26 fallback.
  • Adds CocoaPods and Swift Package Manager integration, a full example app, documentation site, tests, and CI.
2
likes
160
points
624
downloads
screenshot

Documentation

Documentation
API reference

Publisher

verified publishercodegrowers.tech

Weekly Downloads

iPhone Duo-first foldable support for Flutter: hinge angles, postures, reserved regions, screen roles, and Android display modes.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#iphone-duo #foldable #dual-screen #hinge #android

License

MIT (license)

Dependencies

flutter, flutter_plugin_android_lifecycle, plugin_platform_interface

More

Packages that depend on dual_screen_hinge

Packages that implement dual_screen_hinge