responsive_reflow 2.0.0
responsive_reflow: ^2.0.0 copied to clipboard
Responsive & adaptive Flutter layout utilities: Material 3 breakpoints, spacing tokens, adaptive scaffold, and foldable-aware helpers.
2.0.0 #
Note: This release has breaking changes.
- BREAKING CHANGE: ReflowDestination.icon,selectedIcon and ReflowNavItem.icon,selectedIcon are now Widget (were IconData), matching Flutter's NavigationDestination. Callers pass Icon(Icons.home) instead of Icons.home, and can supply badged icons, avatars or animated icons directly (e.g. icon: Badge(label: Text('3'), child: Icon(Icons.chat))). The sidebar applies an IconTheme so plain Icon children keep their color/size. (d045b33f)
1.2.0 #
- REFACTOR: rename Rr* classes to Reflow* for consistency and clarity. (52242a80)
- FEAT: Add example apps for go_router and auto_route integration. (c36f2804)
- FEAT: update README with additional contents and recipes for adaptive layouts. (9dd99e9a)
- FEAT: enhance responsive reflow package with new context and adaptive features. (6bfc90d2)
1.1.0 #
1.0.0 #
Initial public release.
- Material 3 window size-class breakpoints (
ReflowBreakpoint,ReflowBreakpoints,ReflowBreakpointsTheme) with configurable thresholds. - Spacing tokens:
ReflowSpacing,ReflowEdgeInsets,ReflowGap,ReflowRadius. - Responsive builders:
ReflowResponsiveBuilder,ReflowConstraintResponsiveBuilder, with smaller-to-larger cascade fallback. - Responsive values & widgets:
ReflowResponsiveValue<T>,ReflowResponsiveVisibility,ReflowResponsiveRowColumn. - Adaptive navigation scaffold
ReflowAdaptiveScaffold(bottom nav → rail → sidebar). - Constrained content:
ConstrainedContent,ReflowPageContent. - Responsive grid:
ReflowResponsiveGridandReflowResponsiveGrid.builder. - Input density helpers:
ReflowDensity,ReflowPointerModeDetector. - Policy & capabilities:
ReflowPolicy,ReflowCapability. - Foldable awareness:
ReflowDisplayFeatures. - Safe-area & insets:
ReflowSafeArea,ReflowInsets.