Skip to main content

foldable_device 1.0.2 copy "foldable_device: ^1.0.2" to clipboard
foldable_device: ^1.0.2 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 Dart:

 $ dart pub add foldable_device

With Flutter:

 $ flutter pub add foldable_device

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

dependencies:
  foldable_device: ^1.0.2

Alternatively, your editor might support dart pub get or 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';
17
likes
0
points
1.29k
downloads

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

unknown (license)

Dependencies

flutter

More

Packages that depend on foldable_device

Packages that implement foldable_device