NavBottomBar constructor
NavBottomBar({
- Key? key,
- required List<
NavIcon> children, - required int currentIndex,
- IconData? bigIcon,
- ButtonPosition? buttonPosition = ButtonPosition.center,
- Color? backgroundColor,
- double? bottomBarHeight = 80,
- double? bottomBarWidth,
- double? bottomRadius = 35,
- bool showBigButton = true,
- dynamic btnOntap()?,
- Color? bigIconColor,
- BoxDecoration? decoration,
Implementation
NavBottomBar({
Key? key,
required this.children,
required this.currentIndex,
this.bigIcon,
this.buttonPosition = ButtonPosition.center,
this.backgroundColor,
this.bottomBarHeight = 80,
this.bottomBarWidth,
this.bottomRadius = 35,
this.showBigButton = true,
this.btnOntap,
this.bigIconColor,
this.decoration,
}) : super(key: key);