You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- For PersistentTabView.custom, List<Widget> screens has been replaced with List<CustomNavBarScreen> screens.
- Property `routeAndNavigatorSettings` has been removed from `PersistentTabView.custom`. You now define `RouteAndNavigatorSettings` for each screen separately in `CustomNavBarScreen`. Please refer to the [Readme](https://pub.dev/packages/persistent_bottom_nav_bar#custom-navigation-bar-styling) file for more instructions.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [6.2.0] - 2024-07-11
9
+
-**Breaking Changes**
10
+
- For `PersistentTabView.custom`, `List<Widget> screens` has been replaced with `List<CustomNavBarScreen> screens`.
11
+
- Property `routeAndNavigatorSettings` has been removed from `PersistentTabView.custom`. You now define `RouteAndNavigatorSettings` for each screen separately in `CustomNavBarScreen`. Please refer to the [Readme](https://pub.dev/packages/persistent_bottom_nav_bar#custom-navigation-bar-styling) file for more instructions.
routeName: "/", //If you haven't defined a routeName for the first screen of the selected tab then don't use the optional property `routeName`. Otherwise it may not work as intended
216
+
);
217
+
218
+
```
219
+
209
220
### Some Useful Tips
210
221
211
222
- Pop to any screen in the navigation graph for a given tab:
@@ -342,7 +353,48 @@ If you want to have your own style for the navigation bar, follow these steps:
342
353
return PersistentTabView.custom(
343
354
context,
344
355
controller: _controller,
345
-
screens: _buildScreens(),
356
+
screens: [
357
+
CustomNavBarScreen(
358
+
//You can declare route settings for custom navigation bar screen here
0 commit comments