ZetaNavigationRail constructor

const ZetaNavigationRail(
  1. {Key? key,
  2. required List<ZetaNavigationRailItem> items,
  3. int? selectedIndex,
  4. void onSelect(
    1. int
    )?,
  5. bool rounded = true,
  6. EdgeInsets margin = const EdgeInsets.all(ZetaSpacing.xl_1),
  7. EdgeInsets itemSpacing = const EdgeInsets.only(bottom: ZetaSpacing.minimum),
  8. EdgeInsets? itemPadding,
  9. bool? wordWrap}
)

Constructor for ZetaNavigationRail.

Implementation

const ZetaNavigationRail({
  super.key,
  required this.items,
  this.selectedIndex,
  this.onSelect,
  this.rounded = true,
  this.margin = const EdgeInsets.all(ZetaSpacing.xl_1),
  this.itemSpacing = const EdgeInsets.only(bottom: ZetaSpacing.minimum),
  this.itemPadding,
  this.wordWrap,
});