DynamicNavBarButton constructor
const
DynamicNavBarButton({
- Key? key,
- required ValueChanged<
int> onTap, - required double position,
- 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 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 DynamicNavBarButton({
Key? key,
required this.onTap,
required this.position,
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.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);