dropdown<T> static method
AppChipsTextField<T>
dropdown<T>({
- required AppItemsFetcher<
T> itemsFetcher, - Key? key,
- List<
T> initialItems = const [], - String? labelText,
- String? hintText,
- ValueChanged<
List< ? onChanged,T> > - VoidCallback? onDisabledTap,
- List<
TextInputFormatter> ? inputFormatters,
Implementation
static AppChipsTextField<T> dropdown<T>({
required AppItemsFetcher<T> itemsFetcher,
Key? key,
List<T> initialItems = const [],
String? labelText,
String? hintText,
ValueChanged<List<T>>? onChanged,
VoidCallback? onDisabledTap,
List<TextInputFormatter>? inputFormatters,
}) {
return _DropdownContent<T>(
itemsFetcher: itemsFetcher,
key: key,
initialItems: initialItems,
labelText: labelText,
hintText: hintText,
onChanged: onChanged,
onDisabledTap: onDisabledTap,
inputFormatters: inputFormatters,
);
}