DropdownButton<T> constructor
DropdownButton<T> ({
- required List<
DropdownMenuItem< items,T> > - T? value,
- ValueCmdCallback<
T> ? onChanged, - Widget? hint,
- Widget? disabledHint,
- bool enabled = true,
- ButtonSize size = ButtonSize.medium,
- ButtonVariant variant = ButtonVariant.outline,
- Style? textStyle,
- Key? key,
Implementation
DropdownButton({
required this.items,
this.value,
this.onChanged,
this.hint,
this.disabledHint,
this.enabled = true,
this.size = ButtonSize.medium,
this.variant = ButtonVariant.outline,
this.textStyle,
super.key,
});