NomoVerticalMenu<T> constructor

const NomoVerticalMenu<T>({
  1. required List<NomoMenuItem<T>> items,
  2. required T? selected,
  3. Color? foreground,
  4. Color? background,
  5. Color? selectedBackground,
  6. Color? selectedForeground,
  7. double? height,
  8. double? hPadding,
  9. double? itemSpacing,
  10. BorderRadius? borderRadius,
  11. double? iconSize,
  12. TextStyle? style,
  13. double? spacing,
  14. Widget? title,
  15. void onTap(
    1. NomoMenuItem<T> item
    )?,
  16. BorderSide? border,
  17. BorderSide? selectedBorder,
  18. Widget itemDecorator(
    1. NomoMenuItem<T> item,
    2. Widget child
    )?,
  19. Key? key,
})

Implementation

const NomoVerticalMenu({
  required this.items,
  required this.selected,
  this.foreground,
  this.background,
  this.selectedBackground,
  this.selectedForeground,
  this.height,
  this.hPadding,
  this.itemSpacing,
  this.borderRadius,
  this.iconSize,
  this.style,
  this.spacing,
  this.title,
  this.onTap,
  this.border,
  this.selectedBorder,
  this.itemDecorator,
  super.key,
});