GetxBottomBarView constructor
GetxBottomBarView({
- Key? key,
- required List<
GetPage> getPages, - required List<
String> routes, - required List<
GetBottomBarItem> bottomBar, - AppBar? appBar,
- Transition? defaultTransition,
- Curve curve = Curves.easeOutQuint,
- Duration duration = const Duration(milliseconds: 750),
- num? height,
- Color? backgroundColor,
- bool showActiveBackgroundColor = true,
- EdgeInsets itemPadding = const EdgeInsets.symmetric(vertical: 10, horizontal: 16),
- TextStyle textStyle = const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
Don't Pass Route of Same Page, Ex: (Don't pass Routes.Home
from Home
Page)
in routes
list
Implementation
GetxBottomBarView({
Key? key,
required this.getPages,
required this.routes,
required this.bottomBar,
this.navigationKey = 1,
this.appBar,
this.defaultTransition,
this.curve = Curves.easeOutQuint,
this.duration = const Duration(milliseconds: 750),
this.height,
this.backgroundColor,
this.showActiveBackgroundColor = true,
this.itemPadding = const EdgeInsets.symmetric(vertical: 10, horizontal: 16),
this.textStyle = const TextStyle(fontSize: 14, fontWeight: FontWeight.w500),
}) : super(key: key);