SearchableTextField<T> constructor
const
SearchableTextField<T> ({
- Key? key,
- Future<
List< onChanged()?,T> > - TextEditingController? controller,
- String? validator()?,
- double borderRaduis = 10,
- Widget? prefix,
- EdgeInsetsDirectional? margin,
- String? hint,
- InputBorder? inputBorder,
- required List<
T> items, - required ValueChanged<
T> onSubmit, - required String itemToString(
- T
- String? label,
- T? defaultValue,
- InputDecoration? decoration,
Implementation
const SearchableTextField({
Key? key,
this.onChanged,
this.controller,
this.validator,
this.borderRaduis = 10,
this.prefix,
this.margin,
this.hint,
this.inputBorder,
required this.items,
required this.onSubmit,
required this.itemToString,
this.label,
this.defaultValue,
this.decoration,
}) : super(key: key);