DropdownButton<T> constructor

const DropdownButton<T>({
  1. Key? key,
  2. List<DropdownMenuItem<T>>? items,
  3. T? value,
  4. ValueChanged<T?>? onChanged,
  5. Widget? hint,
  6. bool isExpanded = false,
  7. double? elevation,
  8. Widget? icon,
  9. Color? dropdownColor,
})

Implementation

const DropdownButton({
  super.key,
  this.items,
  this.value,
  this.onChanged,
  this.hint,
  this.isExpanded = false,
  this.elevation,
  this.icon,
  this.dropdownColor,
});