NomoDropDownMenuThemeData.from constructor

NomoDropDownMenuThemeData.from(
  1. NomoDropDownMenuColorData colors,
  2. NomoDropDownMenuSizingData sizing,
  3. NomoDropDownMenuConstants constants
)

Implementation

factory NomoDropDownMenuThemeData.from(
  NomoDropDownMenuColorData colors,
  NomoDropDownMenuSizingData sizing,
  NomoDropDownMenuConstants constants,
) {
  return NomoDropDownMenuThemeData(
    iconColor: colors.iconColor,
    dropdownElevation: colors.dropdownElevation,
    dropdownColor: colors.dropdownColor,
    dropdownBorder: colors.dropdownBorder,
    backgroundColor: colors.backgroundColor,
    border: colors.border,
    minFontSize: sizing.minFontSize,
    itemPadding: sizing.itemPadding,
    padding: sizing.padding,
    borderRadius: sizing.borderRadius,
  );
}