Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeduo_kit

Flutter widgets to layout content around a foldable device’s hinge and strip

pub.devRemove
foldable_device

Foldable posture, hinge angle, and reserved screen regions for Android foldables and the iPhone Duo.

pub.devRemove
ScoresHealth78 (best)64
Maintenance94 (best)91
Quality100 (best)97
Popularity44 (best)29
Community41 (best)6
Compatibility100 (best)73
UsageDownloads (30 days)2.6k (best)1.3k
Likes20 (best)18
Pub points160 / 160160 / 160
GitHub stars8 (best)0
MaintenanceLatest release0.2.0, 5 days ago (best)1.0.5, 2 weeks ago
Major versions in 12 months0 (best)1
Contributors11
Publisherleancode.coUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS
WASM-readyYesNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies00
LicenseAPACHE-2.0MIT
Setup effortMediumLow
JudgementStrengths
  • Keeps state across folds
  • Handles insets and keyboard automatically
  • Supports dialogs and sheets in the correct half
  • Works on Android, iOS, web, desktop
  • Supports both Android foldables and iOS 27.1+ iPhone Duo devices
  • Provides dedicated widgets like FoldSafeArea for padding content away from hardware cutouts
  • Tracks hinge angles, posturing, and active occlusion regions
Weaknesses
  • Requires iOS 27.1 SDK for full functionality
  • Only works on iPhone Duo for fold data; other foldables rely on Flutter’s displayFeatures
  • Needs manual wrapping with FoldBridge on iOS
  • Requires minimum iOS 15.0 and Xcode 27.1+ for iOS features
  • Flutter's own built-in iOS engine does not automatically populate MediaQuery.displayFeatures
Warnings
  • Native setup
  • Native setup
duo_kit vs foldable_device: which Flutter package should you use? | pubscout