- Use improved MediaQuery methods.
- Adds
inDuration
,outDuration
,inCurve
, andoutCurve
parameters for configuring additionalSlotLayoutConfig
animation behavior. - BREAKING CHANGES:
- Removes
duration
parameter fromSlotLayoutConfig
.
- Removes
- Add new sample for using AdaptiveScaffold with GoRouter.
- Fix breakpoint not being active in certain cases like foldables.
- Compare breakpoints to each other using operators.
- Update the spacing and margins to the latest material m3 specs.
- Add
margin
,spacing
,padding
,recommendedPanes
andmaxPanes
with their Material value toBreakpoint
.
- Fix a bug where landscape would not show body when using
andUp
.
- Add
Breakpoint.activeBreakpointOf(context)
to find the currently active breakpoint. - Don't check for height on Desktop platforms.
- Add breakpoints for mediumLarge and extraLarge.
- Add height and orientation based breakpoint checks.
- BREAKING CHANGES:
- Removes
WidthPlatformBreakpoint
- Breakpoints can now be constructed directly with
Breakpoint
- Checks for
andUp
orplatform
can be done as parameter:Breakpoint.small(andUp: true, platform: Breakpoint.mobile)
- Removes
- Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
- Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
- Expose
labelType
for NavigationRails. - Add
navigationRailDestinationBuilder
to apply custom Destinations. - Add
groupAlignment
property to change alignment. - Set
navRailTheme
when using the Drawer just like the other NavigationRails.
- Allows custom animation duration for the NavigationRail and BottomNavigationBar transitions. flutter/flutter#112938
- Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
- Migrates deprecated MaterialState and MaterialStateProperty to WidgetState and WidgetStateProperty.
- Reduce rebuilds when invoking
isActive
method.
- Removes a broken design document link from the README.
- FIX : Assertion added when tried with less than 2 destinations - flutter/flutter#110902
- FIX : Drawer stays open even on destination tap - flutter/flutter#141938
- Updates minimum supported SDK version to Flutter 3.13/Dart 3.1.
- Adds
transitionDuration
parameter for specifying how long the animation should be.
- Fixes new lint warnings.
- Adds pub topics to package metadata.
- Fix top padding for NavigationBar.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
- Added support for displaying an AppBar on any Breakpoint by introducing appBarBreakpoint
- Added support for Right-to-left (RTL) directionality.
- Fixes stale ignore: prefer_const_constructors.
- Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
- Use Material 3 NavigationBar instead of BottomNavigationBar
- Fixes
groupAlignment
property not available instandardNavigationRail
- flutter/flutter#121994
- Fixes
NavigationRail
items not consideringNavigationRailTheme
values - flutter/flutter#121135 - When
NavigationRailTheme
is provided, it will use the theme for values that the user has not given explicit theme-related values for.
- Fixes flutter/flutter#121135)
selectedIcon
parameter not displayed even if it is provided.
- Aligns Dart and Flutter SDK constraints.
- Change the
selectedIndex
parameter onstandardNavigationRail
to allow null values to indicate "no destination". - An explicitly null
currentIndex
parameter passed tostandardBottomNavigationBar
will also default to 0, just like implicitly null missing parameters.
- Fix passthrough of
leadingExtendedNavRail
,leadingUnextendedNavRail
andtrailingNavRail
Make fuchsia a mobile platform.
- Patch duplicate key error in SlotLayout.
- Change type of
appBar
parameter fromAppBar?
toPreferredSizeWidget?
- Calls onDestinationChanged callback in bottom nav bar.
- Fix static analyzer warnings using
core
lint.
- First published version.
- Adds some more examples.
- Updates text theme parameters to avoid deprecation issues.
- Initial release