AdwSearchBarAc constructor

const AdwSearchBarAc({
  1. Key? key,
  2. Widget? search = const Icon(Icons.search, size: 18),
  3. EdgeInsets? padding,
  4. Color? fillColor,
  5. TextEditingController? controller,
  6. List<String>? suggestions,
  7. ValueSetter<String>? onChanged,
  8. ValueSetter<String>? onSubmitted,
  9. dynamic toggleSearchBar({
    1. bool value,
    })?,
  10. String? hintText,
  11. Future<List<String>> asyncSuggestions(
    1. String
    )?,
  12. BoxConstraints? constraints,
  13. 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);