BottomNav constructor

const BottomNav({
  1. Key? key,
  2. int? index,
  3. void onTap(
    1. int i
    )?,
  4. List<BottomNavItem>? items,
  5. double elevation = 8.0,
  6. IconStyle? iconStyle,
  7. Color color = Colors.white,
  8. LabelStyle? labelStyle,
})

Implementation

const BottomNav({
  Key? key,
  this.index,
  this.onTap,
  this.items,
  this.elevation = 8.0,
  this.iconStyle,
  this.color = Colors.white,
  this.labelStyle,
})  : assert(items != null && items.length >= 2),
      super(key: key);