HareAutoCompleteField constructor
HareAutoCompleteField({
- required FutureOr<
Iterable< optionsBuilder(String> >- TextEditingValue edit
- double maxOptionsHeight = 400,
- double maxOptionsWidth = 300,
- void onSelected(
- String value
- void onSubmited(
- String text
- void onChange(
- String text
- String? initValue,
- Widget? label,
- Widget? suffix,
- Widget? suffixIcon,
- Widget? prefix,
- Widget? prefixIcon,
- InputDecoration? decoration,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - void onController(
- TextEditingController controller
Implementation
HareAutoCompleteField({
required this.optionsBuilder,
this.maxOptionsHeight = 400,
this.maxOptionsWidth = 300,
this.onSelected,
this.onSubmited,
this.onChange,
this.initValue,
this.label,
this.suffix,
this.suffixIcon,
this.prefix,
this.prefixIcon,
this.decoration,
this.keyboardType,
this.inputFormatters,
this.onController,
}) : super(key: UniqueKey());