Skip to main content

duo_flex 0.3.3 copy "duo_flex: ^0.3.3" to clipboard
duo_flex: ^0.3.3 copied to clipboard

Flutter plugin for iPhone Duo and foldable devices: read hinge angle, posture, display regions and window geometry, and build adaptive layouts.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add duo_flex

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

dependencies:
  duo_flex: ^0.3.3

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:duo_flex/duo_flex.dart';
3
likes
160
points
235
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for iPhone Duo and foldable devices: read hinge angle, posture, display regions and window geometry, and build adaptive layouts.

Homepage

Topics

#foldable #iphone-duo #dual-screen #responsive #adaptive-layout

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on duo_flex

Packages that implement duo_flex