Skip to main content

foldable_device 1.0.1 copy "foldable_device: ^1.0.1" to clipboard
foldable_device: ^1.0.1 copied to clipboard

Foldable posture, hinge angle, fold direction and reserved regions (fold, camera) for Android foldables and the iPhone Duo (iOS 27.1+).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add foldable_device

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  foldable_device: ^1.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:foldable_device/foldable_device.dart';
16
likes
160
points
27
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Foldable posture, hinge angle, fold direction and reserved regions (fold, camera) for Android foldables and the iPhone Duo (iOS 27.1+).

Repository (GitHub)
View/report issues

Topics

#foldable #hinge #dual-screen #iphone #layout

License

MIT (license)

Dependencies

flutter

More

Packages that depend on foldable_device

Packages that implement foldable_device