DropdownButton<T> constructor
const
DropdownButton<T> ({
- Key? key,
- List<
DropdownMenuItem< ? items,T> > - T? value,
- ValueChanged<
T?> ? onChanged, - Widget? hint,
- bool isExpanded = false,
- double? elevation,
- Widget? icon,
- Color? dropdownColor,
Implementation
const DropdownButton({
super.key,
this.items,
this.value,
this.onChanged,
this.hint,
this.isExpanded = false,
this.elevation,
this.icon,
this.dropdownColor,
});