NomoDropDownMenu<T> constructor
const
NomoDropDownMenu<T> ({
- required List<
NomoDropdownItem< items,T> > - void onChanged(
- T? value
- Key? key,
- T? initialValue,
- double? width,
- double? height,
- Color? iconColor,
- TextStyle? textStyle,
- double? dropdownElevation,
- Offset? offset,
- Color? dropdownColor,
- double? minFontSize = 12,
- TextOverflow? overflow = TextOverflow.ellipsis,
- EdgeInsetsGeometry? padding,
- ShapeBorder? dropdownBorder,
- IconData icon = Icons.keyboard_arrow_down,
- bool disableRotation = false,
- ValueNotifier<
T?> ? valueNotifer, - FocusNode? focusNode,
- Color? backgroundColor,
- BorderRadius? borderRadius,
- BorderSide? border,
- EdgeInsetsGeometry? itemPadding,
- double itemHeight = 48,
Implementation
const NomoDropDownMenu({
required this.items,
this.onChanged,
super.key,
this.initialValue,
this.width,
this.height,
this.iconColor,
this.textStyle,
this.dropdownElevation,
this.offset,
this.dropdownColor,
this.minFontSize = 12,
this.overflow = TextOverflow.ellipsis,
this.padding,
this.dropdownBorder,
this.icon = Icons.keyboard_arrow_down,
this.disableRotation = false,
this.valueNotifer,
this.focusNode,
this.backgroundColor,
this.borderRadius,
this.border,
this.itemPadding,
this.itemHeight = 48,
});