NomoVerticalMenuThemeData.from constructor

NomoVerticalMenuThemeData.from(
  1. NomoVerticalMenuColorData colors,
  2. NomoVerticalMenuSizingData sizing,
  3. NomoVerticalMenuConstants constants
)

Implementation

factory NomoVerticalMenuThemeData.from(
  NomoVerticalMenuColorData colors,
  NomoVerticalMenuSizingData sizing,
  NomoVerticalMenuConstants constants,
) {
  return NomoVerticalMenuThemeData(
    border: colors.border,
    selectedBorder: colors.selectedBorder,
    foreground: colors.foreground,
    background: colors.background,
    selectedBackground: colors.selectedBackground,
    selectedForeground: colors.selectedForeground,
    borderRadius: colors.borderRadius,
    hPadding: sizing.hPadding,
    itemSpacing: sizing.itemSpacing,
    spacing: sizing.spacing,
    height: sizing.height,
    iconSize: sizing.iconSize,
  );
}