DropdownButton<T> constructor
const
DropdownButton<T> ({
- Key? key,
- required List<
DropdownMenuItem< items,T> > - T? value,
- required ValueChanged<
T?> ? onChanged, - String? hint,
- FocusNode? focusNode,
- Color? focusColor,
- Color? backgroundColor,
- 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,
});