flutter_foldable_kit 1.0.0
flutter_foldable_kit: ^1.0.0 copied to clipboard
A modern, plug-and-play Flutter library for Foldable, Flip, and Dual-Screen devices. Easily build SplitView, OnHingeChange detection, FoldableTabView, and NavigationSplitView.
Changelog #
All notable changes to the flutter_foldable_kit package will be documented in this file.
1.0.0 - 2026-09-11 #
Added #
- Core Models & Scopes:
FoldableInfomodel for device posture, hinge bounds, and orientation.FoldableScopeinherited widget for state propagation.BuildContextextensions (isFoldable,isTabletop,isBookMode,hingeBounds,devicePosture).
- Hinge Detection & Reaction:
OnHingeChangewidget for reactive posture/hinge listeners.FoldableLayoutBuilderfor declarative multi-layout building.
- Split View:
FoldableSplitViewhinge-aware dual pane layout with responsive fallback.FoldableSplitDividercustomizable divider handle.
- Foldable Tab View:
FoldableTabViewsupporting Navigation Rail, Bottom Bar, and Tabletop Flex controls.FoldableTabItemdefinition model.
- Master-Detail Navigation:
FoldableNavigationSplitViewseamless master-detail router with automatic stack push fallback on compact screens.
- Example App & Tests:
- Full showcase demo app in
example/. - Comprehensive unit and widget tests.
- Full showcase demo app in