persistent_bottom_nav_bar_v2 library

Classes

CustomTabView
CustomTabViewState
DecoratedNavBar
ItemAnimation
ItemConfig
Configuration for an individual Tab Item in the navbar. Styling depends on the styling of the navigation bar. Needs to be passed to the PersistentTabView widget via PersistentTabConfig.
KeepAlivePage
This is automatically generated. This is used to be passed to the NavBar Widget and includes all the necessary configurations for the NavBar.
Decoration configuration for the persistent navigation bar. It is suggested to be used in conjunction with DecoratedNavBar to style the navigation bar. Serves as a container for commonly used styling properties.
NeumorphicBottomNavBar
NeumorphicContainer
NeumorphicDecoration
NeumorphicProperties
PersistentRouterTabConfig
PersistentTab
PersistentTabConfig
Configuration for an individual Tab, including the screen to be displayed and the item in the navbar. Use PersistentTabConfig.noScreen if you want to use custom behavior on a press of a NavBar item like display a modal screen instead of switching the tab.
PersistentTabController
Navigation bar controller for PersistentTabView.
PersistentTabView
A highly customizable persistent bottom navigation bar for flutter.
PersistentTabViewScaffold
ScreenTransitionAnimation
Style10BottomNavBar
Style11BottomNavBar
Style12BottomNavBar
Style13BottomNavBar
Style14BottomNavBar
Style15BottomNavBar
Style16BottomNavBar
Style1BottomNavBar
Style2BottomNavBar
Style3BottomNavBar
Style4BottomNavBar
Style5BottomNavBar
Style6BottomNavBar
Style7BottomNavBar
Style8BottomNavBar
Style9BottomNavBar

Functions

getBackgroundColor(BuildContext context, List<ItemConfig>? items, Color? color, int? selectedIndex) Color
getPageRoute(PageTransitionAnimation transitionAnimation, {RouteSettings? settings, Widget? enterPage, Widget? exitPage}) → dynamic
getTranslucencyAmount(List<ItemConfig> items, int? selectedIndex) double
isColorOpaque(BuildContext context, Color? color) bool
opaque(List<ItemConfig> items, int? selectedIndex) bool
pushReplacementWithNavBar<T extends Object?, TO extends Object?>(BuildContext context, Route<T> route, {TO? result}) Future<T?>
pushReplacementWithoutNavBar<T extends Object?, TO extends Object?>(BuildContext context, Route<T> route, {TO? result}) Future<T?>
pushScreen<T extends Object?>(BuildContext context, {required Widget screen, bool withNavBar = false, PageTransitionAnimation pageTransitionAnimation = PageTransitionAnimation.platform, PageRoute? customPageRoute, RouteSettings? settings}) Future<T?>
pushScreenWithNavBar<T>(BuildContext context, Widget screen) Future<T?>
pushScreenWithoutNavBar<T>(BuildContext context, Widget screen) Future<T?>
pushWithNavBar<T>(BuildContext context, Route<T> route) Future<T?>
pushWithoutNavBar<T>(BuildContext context, Route<T> route) Future<T?>

Typedefs

AnimatedTabBuilder = Widget Function(BuildContext context, int index, double animationValue, int newIndex, int oldIndex, Widget child)