SearchWidget<T> constructor

SearchWidget<T>({
  1. Key? key,
  2. required FilterController filterController,
  3. Duration debounceDuration = const Duration(milliseconds: 500),
  4. InputBorder? inputBorder,
  5. String hintText = "Search",
  6. EdgeInsets? contentPadding = const EdgeInsets.symmetric(horizontal: 15, vertical: 10),
  7. TextEditingController? controller,
  8. TextStyle? style,
  9. TextStyle? hintStyle,
  10. InputDecoration? decoration,
})

Implementation

SearchWidget({
  Key? key,
  required this.filterController,
  this.debounceDuration = const Duration(milliseconds: 500),
  this.inputBorder,
  this.hintText = "Search",
  this.contentPadding =
      const EdgeInsets.symmetric(horizontal: 15, vertical: 10),
  this.controller,
  this.style,
  this.hintStyle,
  this.decoration,
}) : super(key: key);