BottomAnimation constructor
const
BottomAnimation({
- Key? key,
- required int selectedIndex,
- required List<
BottomNavItem> items, - required Color activeIconColor,
- required Color deActiveIconColor,
- required Color backgroundColor,
- required ValueChanged<
int> onItemSelect, - required Color itemHoverColor,
- int hoverAlignmentDuration = 700,
- double iconSize = 30,
- TextStyle? textStyle,
- double barHeight = 80,
- double barRadius = 0,
- double itemHoverBorderRadius = 15,
- double itemHoverColorOpacity = .13,
- double itemHoverHeight = 55,
- double itemHoverWidth = 150,
Implementation
const BottomAnimation({
Key? key,
required this.selectedIndex,
required this.items,
required this.activeIconColor,
required this.deActiveIconColor,
required this.backgroundColor,
required this.onItemSelect,
required this.itemHoverColor,
this.hoverAlignmentDuration = 700,
this.iconSize = 30,
this.textStyle,
this.barHeight = 80,
this.barRadius = 0,
this.itemHoverBorderRadius = 15,
this.itemHoverColorOpacity = .13,
this.itemHoverHeight = 55,
this.itemHoverWidth = 150,
}) : super(key: key);