AppDropDownFormField<T extends Object> constructor
const
AppDropDownFormField<T extends Object> ({
- required AppItemsFetcher<
T> fetcher, - required AppItemsHandler<
T> handler, - String? labelText,
- String? hintText,
- AppItemsValidator<
T> ? validator, - InputBorder? border,
- InputBorder? focusedBorder,
- EdgeInsets? inputContentPadding,
- EdgeInsets? tilesContentPadding,
- bool showTrailing = true,
- AppTextFormFieldErrorType errorType = AppTextFormFieldErrorType.string,
- Widget tileBuilder(
- T item,
- bool selected,
- VoidCallback onTap
- bool enabled = true,
- bool updateTextOnChanged = true,
- bool? filled,
- Color? fillColor,
- TextInputType? keyboardType,
- Key? key,
Implementation
const AppDropDownFormField({
required this.fetcher,
required this.handler,
this.labelText,
this.hintText,
this.validator,
this.border,
this.focusedBorder,
this.inputContentPadding,
this.tilesContentPadding,
this.showTrailing = true,
this.errorType = AppTextFormFieldErrorType.string,
this.tileBuilder,
this.enabled = true,
this.updateTextOnChanged = true,
this.filled,
this.fillColor,
this.keyboardType,
super.key,
});