ZetaNavigationBar.action constructor

const ZetaNavigationBar.action({
  1. Key? key,
  2. bool? rounded,
  3. required List<ZetaNavigationBarItem> items,
  4. required Widget? action,
  5. int? currentIndex,
  6. void onTap(
    1. int value
    )?,
  7. String? semanticLabel,
})

Creates a ZetaNavigationBar with an action.

Implementation

const ZetaNavigationBar.action({
  super.key,
  super.rounded,
  required this.items,
  required this.action,
  this.currentIndex,
  this.onTap,
  this.semanticLabel,
})  : dividerIndex = null,
      splitItems = false;