ZeroNavigationRail constructor

const ZeroNavigationRail({
  1. Key? key,
  2. required List<ZeroNavigationRailItem> items,
  3. Widget? leading,
  4. Widget? action,
  5. ZeroNavigationRailType type = ZeroNavigationRailType.iconLabel,
  6. ValueChanged<int>? onTap,
  7. int activeIndex = 0,
  8. ZeroNavigationRailStyle? style,
})

Implementation

const ZeroNavigationRail({
  super.key,
  required this.items,
  this.leading,
  this.action,
  this.type = ZeroNavigationRailType.iconLabel,
  this.onTap,
  this.activeIndex = 0,
  this.style,
});