SearchConfig constructor

SearchConfig({
  1. Duration debounceTime = const Duration(milliseconds: 500),
  2. String hint = "Search",
  3. OutlineInputBorder border = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(100))),
  4. required void onSearch(
    1. String?
    ),
})

Implementation

SearchConfig(
    {this.debounceTime = const Duration(milliseconds: 500),
    this.hint = "Search",
    this.border = const OutlineInputBorder(borderRadius: BorderRadius.all(Radius.circular(100))),
    required this.onSearch});