AppDropdownButtonFormField<T> constructor
const
AppDropdownButtonFormField<T>({ - Key? key,
- T? value,
- required List<DropdownMenuItem<T>>? items,
- DropdownButtonBuilder? selectedItemBuilder,
- required ValueChanged<T?>? onChanged,
- Widget? emptyItemChild,
- Widget? hint,
- Widget? disabledHint,
- VoidCallback? onTap,
- FocusNode? focusNode,
- bool autofocus = false,
- InputDecoration? decoration,
- FormFieldSetter<T>? onSaved,
- FormFieldValidator<T>? validator,
- AutovalidateMode? autovalidateMode,
- bool alwaysHideIcon = false,
})
Implementation
const AppDropdownButtonFormField({
super.key,
this.value,
required this.items,
this.selectedItemBuilder,
required this.onChanged,
this.emptyItemChild,
this.hint,
this.disabledHint,
this.onTap,
this.focusNode,
this.autofocus = false,
this.decoration,
this.onSaved,
this.validator,
this.autovalidateMode,
this.alwaysHideIcon = false,
});