DropdownButton<T> constructor

const DropdownButton<T>({
  1. Key? key,
  2. required List<DropdownMenuItem<T>> items,
  3. T? value,
  4. required ValueChanged<T?>? onChanged,
  5. String? hint,
  6. FocusNode? focusNode,
  7. Color? focusColor,
  8. Color? backgroundColor,
  9. Color? dropdownColor,
})

Implementation

const DropdownButton({
  super.key,
  required this.items,
  this.value,
  required this.onChanged,
  this.hint,
  this.focusNode,
  this.focusColor,
  this.backgroundColor,
  this.dropdownColor,
});