NomoDropDownMenu<T> constructor

const NomoDropDownMenu<T>(
  1. {dynamic key,
  2. required List items,
  3. required dynamic onChanged(
    1. dynamic
    ),
  4. dynamic initailValue,
  5. double? width,
  6. double? height,
  7. dynamic decoration,
  8. dynamic iconColor,
  9. dynamic textStyle,
  10. double? dropdownElevation,
  11. dynamic dropDownShape,
  12. dynamic offset,
  13. dynamic dropdownColor,
  14. double? minFontSize = 12,
  15. double? maxFontSize = double.infinity,
  16. dynamic overflow = TextOverflow.ellipsis}
)

Implementation

const NomoDropDownMenu({
  Key? key,
  required this.items,
  required this.onChanged,
  this.initailValue,
  this.width,
  this.height,
  this.decoration,
  this.iconColor,
  this.textStyle,
  this.dropdownElevation,
  this.dropDownShape,
  this.offset,
  this.dropdownColor,
  this.minFontSize = 12,
  this.maxFontSize = double.infinity,
  this.overflow = TextOverflow.ellipsis,
}) : super(key: key);