MoonDropdown<T> constructor

const MoonDropdown<T>({
  1. Key? key,
  2. required List<DropdownMenuItem<T>> items,
  3. required T? value,
  4. required ValueChanged<T?> onChanged,
  5. String? label,
  6. String? hint,
  7. bool isDisabled = false,
})

Implementation

const MoonDropdown({
  super.key,
  required this.items,
  required this.value,
  required this.onChanged,
  this.label,
  this.hint,
  this.isDisabled = false,
});