responsive_reflow 2.0.0 copy "responsive_reflow: ^2.0.0" to clipboard
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 #

  • FEAT: Add melos badge to README. (360f8743)
  • FEAT: Add responsive layout utilities. (915962a7)

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: ReflowResponsiveGrid and ReflowResponsiveGrid.builder.
  • Input density helpers: ReflowDensity, ReflowPointerModeDetector.
  • Policy & capabilities: ReflowPolicy, ReflowCapability.
  • Foldable awareness: ReflowDisplayFeatures.
  • Safe-area & insets: ReflowSafeArea, ReflowInsets.
7
likes
160
points
204
downloads

Documentation

API reference

Publisher

verified publisherdartcoder.in

Weekly Downloads

Responsive & adaptive Flutter layout utilities: Material 3 breakpoints, spacing tokens, adaptive scaffold, and foldable-aware helpers.

Repository (GitHub)
View/report issues

Topics

#responsive #adaptive #layout #breakpoints #ui

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on responsive_reflow