liquid_adaptive_nav
library
Classes
-
AdaptiveLayoutMetrics
-
Resolved posture + window geometry helpers used across Phone, Foldable (Book/TableTop),
Tablet/iPad, and Desktop macOS windows.
-
AdaptivePostureBuilder
-
An adaptive Flutter widget that continuously tracks both hardware folding posture
(flat, tabletop, book, hinge dimensions) and responsive window size class
(compact, medium, expanded).
-
DisplayMetrics
-
Physical display dimensions, density, orientation, and device type.
-
DisplayPostureDetector
-
-
DuoSideActionItem
-
Action descriptor for a frosted-glass button inside DuoSideActionStrip.
-
DuoSideActionStrip
-
Compact frosted/liquid-glass vertical action capsule rendered inside an
asymmetric iOS / iPhone Duo reserved side strip for pushed screens
(e.g., Back, Close, Delete, Stop, Edit).
-
DuoSideStripLayout
-
Shared geometry for docked iPhone Duo frosted-glass side-strip capsules.
-
DuoSideStripSpec
-
Geometry for an asymmetric iOS vertical reserved side strip (e.g. iPhone Duo camera/dock strip).
-
FloatingPillNavBar
-
Floating frosted/liquid-glass pill navigation bar with adaptive platform
support:
-
LiquidAdaptiveNavShell
-
Top-level adaptive navigation shell coordinating:
-
LiquidAdaptiveNavTheme
-
Comprehensive theme configuration for all
liquid_adaptive_nav surfaces
(LiquidAdaptiveNavShell, FloatingPillNavBar, LiquidGlassCapsule,
DuoSideActionStrip, and MacOSSidebarNavigation).
-
LiquidAdaptiveNavThemeScope
-
Optional inherited scope providing a LiquidAdaptiveNavTheme for subtrees
that do not rely on Material
ThemeData.extensions (such as CupertinoApp).
-
LiquidDuoPageContainer
-
Convenience posture-aware container for pushed routes / detail screens that
automatically pads content clear of an asymmetric iOS / iPhone Duo side strip
and docks optional duoActionsBuilder actions inside DuoSideActionStrip.
-
LiquidGlassCapsule
-
Frosted / liquid-glass capsule surface used by FloatingPillNavBar and
DuoSideActionStrip, and usable standalone anywhere in an app.
-
LiquidNavDestination
-
Destination entry for FloatingPillNavBar and LiquidAdaptiveNavShell.
-
Item descriptor inside a LiquidSidebarSection of MacOSSidebarNavigation.
-
Logical group of items inside MacOSSidebarNavigation.
-
Sculpted macOS-style sidebar toggle button used in both
MacOSSidebarNavigation and LiquidAdaptiveNavShell's collapsed toolbar.
-
Custom crisp vector icon matching the macOS Finder/Notes sidebar toggle glyph.
-
LiquidTactileButton
-
Platform-adaptive tactile wrapper used inside pills, strips, and sidebars:
-
Generic collapsible macOS / desktop sidebar supporting sectioned destinations,
per-item action callbacks, custom brand header/footer, and full
LiquidAdaptiveNavTheme Light/Dark customization.
-
PostureBreakpoints
-
Configurable breakpoint thresholds (in logical pixels) for categorizing window width.
-
PostureEvent
-
Event emitted when posture, hinge crease, display regions, or device orientation changes.
-
PostureRect
-
Represents a 2D bounding rectangle in logical pixels (dp/points).
-
ResponsivePostureBuilder
-
Platform-safe wrapper around AdaptivePostureBuilder.
Uses AdaptivePostureBuilder natively on iOS & Android and falls back to
responsive window-size classification on macOS/Windows/Linux/Web without
invoking mobile-only Method/Event channels.
-
ResponsivePostureOverride
-
Inherited override scope so UI previews and widget tests can inject
simulated foldable PostureEvent states into any subtree using
ResponsivePostureBuilder.