NomoVerticalMenu<T> constructor
const
NomoVerticalMenu<T> ({
- required List<
NomoMenuItem< items,T> > - required T? selected,
- Color? foreground,
- Color? background,
- Color? selectedBackground,
- Color? selectedForeground,
- double? height,
- double? hPadding,
- double? itemSpacing,
- BorderRadius? borderRadius,
- double? iconSize,
- TextStyle? style,
- double? spacing,
- Widget? title,
- void onTap(
- NomoMenuItem<
T> item
- NomoMenuItem<
- BorderSide? border,
- BorderSide? selectedBorder,
- Widget itemDecorator(
- NomoMenuItem<
T> item, - Widget child
- NomoMenuItem<
- 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,
});