MoonDropdown<T> constructor
const
MoonDropdown<T> ({
- Key? key,
- required List<
DropdownMenuItem< items,T> > - required T? value,
- required ValueChanged<
T?> onChanged, - String? label,
- String? hint,
- bool isDisabled = false,
Implementation
const MoonDropdown({
super.key,
required this.items,
required this.value,
required this.onChanged,
this.label,
this.hint,
this.isDisabled = false,
});