SearchWidget<T> constructor
SearchWidget<T> ({
- Key? key,
- required FilterController filterController,
- Duration debounceDuration = const Duration(milliseconds: 500),
- InputBorder? inputBorder,
- String hintText = "Search",
- EdgeInsets? contentPadding = const EdgeInsets.symmetric(horizontal: 15, vertical: 10),
- TextEditingController? controller,
- TextStyle? style,
- TextStyle? hintStyle,
- 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);