AdwSearchBarAc constructor
const
AdwSearchBarAc({
- Key? key,
- Widget? search = const Icon(Icons.search, size: 18),
- EdgeInsets? padding,
- Color? fillColor,
- TextEditingController? controller,
- List<
String> ? suggestions, - ValueSetter<
String> ? onChanged, - ValueSetter<
String> ? onSubmitted, - dynamic toggleSearchBar({
- bool value,
- String? hintText,
- Future<
List< asyncSuggestions()?,String> > - BoxConstraints? constraints,
- Widget? progressIndicatorBuilder,
Implementation
const AdwSearchBarAc({
Key? key,
this.search = const Icon(Icons.search, size: 18),
this.padding,
this.fillColor,
this.controller,
this.suggestions,
this.onChanged,
this.onSubmitted,
this.toggleSearchBar,
this.hintText,
this.asyncSuggestions,
this.constraints,
this.progressIndicatorBuilder,
}) : super(key: key);