ExpandingBottomBar constructor

ExpandingBottomBar({double navBarHeight: 100.0, @required List<ExpandingBottomBarItem> items, Duration animationDuration: const Duration(milliseconds: 200), int selectedIndex: 0, ValueChanged<int> onIndexChanged, Color backgroundColor: Colors.white })

Implementation

ExpandingBottomBar({
  this.navBarHeight = 100.0,
  @required this.items,
  this.animationDuration = const Duration(milliseconds: 200),
  this.selectedIndex = 0,
  this.onIndexChanged,
  this.backgroundColor = Colors.white,
}) : assert(items.length >= 2);