StaticNavBarButton constructor
const
StaticNavBarButton({
- Key? key,
- required ValueChanged<
int> onTap, - required int length,
- required int index,
- required bool showForeGround,
- required IconData icon,
- required String title,
- required int currentIndex,
- required Color? selectedIconColor,
- required double? selectedIconSize,
- required double? selectedTextSize,
- required Color? selectedTextColor,
- required Color? unselectedIconColor,
- required double? unselectedIconSize,
- required double? unselectedTextSize,
- required Color? unselectedTextColor,
- required Color? midItemCircleColorStatic,
- required Color? midItemCircleBorderColorStatic,
- required bool showMidCircleStatic,
- required double midCircleRadiusStatic,
- required double midCircleBorderRadiusStatic,
- required Widget? customSelectedItemDecor,
- required Widget? customUnSelectedItemDecor,
- required List<
Map< ? badgeData,String, dynamic> > - required Color? badgeColor,
- required TextStyle? badgeTextStyle,
- required double? badgeCircleRadius,
- required double? badgeTopPosition,
- required double? badgeBottomPosition,
- required double? badgeLeftPosition,
- required double? badgeRightPosition,
Implementation
const StaticNavBarButton({Key? key,
required this.onTap,
required this.length,
required this.index,
required this.showForeGround,
required this.icon,
required this.title,
required this.currentIndex,
required this.selectedIconColor,
required this.selectedIconSize,
required this.selectedTextSize,
required this.selectedTextColor,
required this.unselectedIconColor,
required this.unselectedIconSize,
required this.unselectedTextSize,
required this.unselectedTextColor,
required this.midItemCircleColorStatic,
required this.midItemCircleBorderColorStatic,
required this.showMidCircleStatic,
required this.midCircleRadiusStatic,
required this.midCircleBorderRadiusStatic,
required this.customSelectedItemDecor,
required this.customUnSelectedItemDecor,
required this.badgeData,
required this.badgeColor,
required this.badgeTextStyle,
required this.badgeCircleRadius,
required this.badgeTopPosition,
required this.badgeBottomPosition,
required this.badgeLeftPosition,
required this.badgeRightPosition,
}) : super(key: key);