persistent_bottom_nav_bar_v2 4.2.3
persistent_bottom_nav_bar_v2: ^4.2.3 copied to clipboard
A do all, highly customizable persistent/static bottom navigation bar for flutter. Includes up-to 20 styles. Based on persistent_bottom_nav_bar which currently is not continued.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.2.3 - 2022-06-03 #
Fixed #
selectedTabScreenContextreturned a wrong context after visiting the tabs the first time
4.2.1 - 2022-05-29 #
4.2.0 - 2022-05-23 #
Changed #
- Fixed bug where the NavigatorObservers of a custom PersistenTabView threw errors when switching to another tab
- Fixed using the correct navigatorKeys for the correct tab
- Breaking Change: The
CustomWidgetRouteAndNavigatorSettings.navigatorObserversare now a list of lists of NavigatorObservers, so each tab has its own list of NavigatorObervers. See the attribute for more information and an example
4.1.11 - 2022-05-13 #
Changed #
- Support Flutter 3.0.0 without triggering warnings (see
_ambiguatefunction for more)
4.1.10 - 2022-04-25 #
4.1.5 - 2022-03-17 #
Fixed #
- Fix issue with
navbarDecoration.borderRadiusbeing null but expected to not be null by styles 15 and 16
4.1.4 - 2022-03-17 #
4.1.1 - 2022-01-20 #
Fixed #
- Hotfix for
popAllScreensOnTapOfSelectedTabofPersistentTabView.custom PersistentTabView.customnow also needs the items- You have to call
navBarEssentials.onItemSelected(index)to trigger navigator stack clearing - Breaking:
customWidgetnow is a builder that receivesnavBarEssentials - Breaking: To make
popAllScreensOnTapOfSelectedTabwork, specify youronItemSelectedfunction of theCustomWidgetlike this:
4.1.0 - 2022-01-20 #
4.0.3 - 2022-01-20 #
Changed #
- Republish package to persistent_bottom_nav_bar_v2
4.0.2 - 2021-03-27 #
Fixed #
- Fixed error while pushing new screens through the included Navigator functions.
3.2.0 - 2021-03-21 #
Added #
inactiveIconis now available inPersistentBottomNavBarItem.- Fixed the bug where all screens of a tab would be popped while switching between tabs.
- Bug fixes.
- Breaking Changes
onWillPopfunction now will return the selected screen's context.- PersistentBottomNavBarItem
routeAndNavigatorSettingshas been removed for non-custom navigation bar. Instead, you must now declarerouteAndNavigatorSettingsinPersistentBottomNavBarItem.activeColoris nowactiveColorPrimary.inactiveColoris nowinactiveColorPrimary.activeColorAlternateis nowactiveColorSecondary.onPressednow returns context of the selected screen.
3.1.0 - 2020-12-06 #
Added #
- Argument
routeAndNavigatorSettingsadded to handleNavigator.pushNamed(context, 'routeName'). Please define your routes and other navigator settings like navigator observers here as well. - Breaking Changes
- Arguments
initalRoute,navigatorObserversandnavigatorKeysremoved and shifted torouteAndNavigatorSettings.
3.0.0 - 2020-12-06 #
Added #
- Added new arguments
navigatorObserversandnavigatorKeysfor the main navigation bar widget. - No need to call
setStatewhen updating active tab using the PersistentTabController. - Function argument
selectedTabScreenContextexposescontextof the selected tab. - Bug fixes and code refactoring.
- Breaking Changes
contextis now required in the constructor.- For custom widget, use this constructor
PersistentTabView.custom(). NavBarStyle.customhas been removed. Please usePersistentTabView.custom().- Argument
iconSizehas been shifted to PersistentBottomNavBarItem. - PersistentBottomNavBarItem argument
activeContentColor's name has been changed toactiveColorSecondary. Functionality remains the same. - PersistentBottomNavBarItem argument
titleStyle's name has been changed totextStyle. Functionality remains the same.
2.1.0 - 2020-10-02 #
Added #
- Added
TextStyleproperty for title in the PersistentBottomNavBarItem. - Added
marginproperty for the navigation bar. - Bug fixes.
2.0.0 - 2020-07-15 #
Added #
- Added transition animations to the Navigator functions.
- Padding simplified into a single property and uses
NavBarPaddinginstead of EdgeInsets. - New property called 'decoration' where are decoration related properties have been moved like curveRadius, boxShadow etc.
- New property to hide the Navigation Bar when keyboard appears.
- For those wanting to display a custom dialog when user tries to exit the app on Android only, use
onWillPopthe callback function. - 8 new styles added.
- Animation properties for all styles can now be controlled through the property
itemAnimationProperties. - Ability to turn off state management.
- Screen transition animation added. Can be controlled with the property
screenTransitionAnimation. - Ability to use custom behavior on tapping of a navigation bar's tab/item through
onPressedcallback method in thePersistentBottomNavBarItem. - Removed
platformSpecificproperty from Navigator functions to make it compatible with Flutter-Web. - Minor new features, bug fixes and stability improvements.
1.5.5 - 2020-05-11 #
Added #
- Added property
bottomScreenPaddingto control a screen's bottom padding. - Added property
navBarCurveRadiusto change the nav bar curve's radius. - Added property
popAllScreensOnTapOfSelectedTabto toggle between the ability to pop all pushed screens of a particular selected tab on the second press of the said tab.
1.5.4 - 2020-05-07 #
Fixed #
- Fixed background shadow issue when translucency was turned on with
showElevation == true.
1.5.2 - 2020-05-07 #
1.5.0 - 2020-04-30 #
Added #
- Added feature to pop back to first screen on tapping of an already selected tab.
Fixed #
- Fixed the issue when new tab was added dynamically.
- Fixed safe area issues.
- Removed property
selectedIndexas it was redundant. UsePersistentTabControllerto control it instead.Breaking Change - Bug fixes.
1.4.4 - 2020-04-29 #
Changed #
- Updated dependencies.
- Removed
allCornersvalue fromNavBarCurveas it became redundant after a fix.
1.4.0 - 2020-04-29 #
1.3.0 - 2020-04-25 #
Added #
- Incorporated the much requested ability to customize your own bottom navigation bar widget.
- Android's back button will no longer close the app.
1.2.0 - 2020-03-20 #
Added #
- Added
navBarHeightandfloatingActionWidgetproperties, some bug fixes and (BREAKING CHANGE)isCurvedproperty is now replaced withnavBarCurvewhich acceptsNavBarCurve.
1.1.5 - 2020-03-04 #
Fixed #
- Fixed issue for style 6 and 8 where a tap would not be registered occasionally.
1.1.0 - 2020-03-01 #
Added #
- Added
Neumorphicdesign for the navigation bar. - Scale animations for style 7 and 8.
- More control over translucency.
- Bug fixes and improvements.
1.0.12 - 2020-01-27 #
Changed #
- Increased space between icon and text for most styles (can be reverted by the use of
bottomPaddingproperty).
1.0.9 - 2020-01-26 #
Added #
- Added
isTranslucentproperty forPersistentBottomNavBarItem. - Tweaked
style8andstyle9's magnification.
1.0.8 - 2020-01-24 #
Fixed #
- Fixed error thrown if
onItemSelectedwas not declared. - Wrapped screens with
Materialfor material elements.
1.0.6 - 2020-01-20 #
Changed #
- Updated navigator functions' arguments and added a new nav bar style.
1.0.3+4 - 2020-01-16 #
1.0.3 - 2020-01-09 #
0.0.1 - 2020-01-08 #
Added #
- Persistent Bottom Navigation.
- Ability to push new screen with or without bottom navigation bar.
- 8 styles for the bottom navigation bar (includes BottomNavyBar style).
- Includes function for pushing screen with or without the bottom navigation bar i.e. pushNewScreen() and pushNewScreenWithRouteSettings().
- Includes platform specific behavior as an option (specify it in the two navigator functions).
- Based on flutter's Cupertino(iOS) bottom navigation bar.