ZdsVerticalNav constructor

const ZdsVerticalNav(
  1. {required List<ZdsNavItem> items,
  2. required int currentIndex,
  3. List<Widget>? actions,
  4. double barWidth = 48,
  5. double itemHeight = 53,
  6. Key? key,
  7. void onTap(
    1. int
    )?}
)

Creates a vertical navigation bar

items can't be null. currentIndex's value must be equal or greater than 0, and smaller than items.length.

Implementation

const ZdsVerticalNav