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.
- Fixed error while pushing new screens through the included Navigator functions.
- Fixed type cast error with
NavigatorObserver.
- Null safety migration.
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. PersistentBottomNavBarItemrouteAndNavigatorSettingshas 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.
- 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.
- Arguments
- 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.
- Added
TextStyleproperty for title in the PersistentBottomNavBarItem. - Added
marginproperty for the navigation bar. - Bug fixes.
- Bug fixes related to decoration border.
- Bug fixes.
- Bug fixes.
- Fixed
hideNavigationBaranimation jitter and updated Readme.
- README updated.
These are not all the changes introduced in this update. Only the major ones. They were simply too many and couldn't be listed down here
- 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.
- 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.
- Fixed background shadow issue when translucency was turned on with
showElevation == true.
- Updated Readme file.
- Fixed nav bar background color consistency when translucency enabled.
- Added an example for the navigator function
pushDynamicScreenin the sample project. - Minor improvements to some styles.
- Reverted changes to
PersistentTabController.
- Added feature to pop back to first screen on tapping of an already selected tab.
- 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.
- Fixed nav bar translucency for provided styles.
- Updated dependencies.
- Removed
allCornersvalue fromNavBarCurveas it became redundant after a fix.
- Improvements to readme.
- Implemented handling of the Android back button.
- Fixed the issue where the app would not close at all on Android back button press.
- Updated navigation bar height to give it the default platform look.
- Updated styles to fix the issue where a tap would not be registered.
- Incorporated the much requested ability to customize your own bottom navigation bar widget.
- Android's back button will no longer close the app.
- Fixed centering of label text in style 1, 7, 9 and 10.
- Added
navBarHeightandfloatingActionWidgetproperties, some bug fixes and (BREAKING CHANGE)isCurvedproperty is now replaced withnavBarCurvewhich acceptsNavBarCurve.
- Fixed issue for style 6 and 8 where a tap would not be registered occasionally.
- Bug fixes and improvements for style 6 and 8.
- Bug fixes.
- Updated project description.
- Memory leakage improvements.
- Added
Neumorphicdesign for the navigation bar. - Scale animations for style 7 and 8.
- More control over translucency.
- Bug fixes and improvements.
- bug fixes.
- Fixed
showElevationinvisible shadow issue.
- bug fixes.
- Increased space between icon and text for most styles (can be reverted by the use of
bottomPaddingproperty).
- bug fixes.
- bug fixes.
- transparency color improvements.
- bug fixes.
- Added
isTranslucentproperty forPersistentBottomNavBarItem. - Tweaked
style8andstyle9's magnification.
- Fixed error thrown if
onItemSelectedwas not declared. - Wrapped screens with
Materialfor material elements.
- Updated README file.
- Updated
style10's andstyle7's shadow.
- Updated
style10's andstyle7's shadow.
- Updated
style10's borders.
- Updated
style8's text magnification and added newstyle10.
- Updated navigator functions' arguments
BREAKING CHANGE.
- Updated navigator functions' arguments and added a new nav bar style.
- Updated return type of navigator functions.
- Added function for pushing
modalscreens.
- Updated style8's magnification.
- Updated navigator functions.
- Added another style for the nav bar.
- Added
horizontalPaddingproperty for the nav bar.
- Fixed issue with
bottomPadding.
- Updated
pushNewScreenfunctions.
- Updated project description.
- Updated font sizes. Added 'bottomPadding` property for navigation bar items.
- Fixes in
pushNewScreen.
- Fixes in
pushNewScreen.
- Updated package's description.
- Stable version released.
- Fixed formatting.
- Example project added to repository.
- Updated README.md
- Updated README.md
- 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.