SearchWidget constructor

const SearchWidget({
  1. Key? key,
  2. required SearchScope scope,
  3. required void onSearch(
    1. String searchValue
    ),
  4. void onSearchValue(
    1. String searchValue
    )?,
  5. List<String> fields = const [],
})

Implementation

const SearchWidget({
  Key? key,
  required this.scope,
  required this.onSearch,
  this.onSearchValue,
  this.fields = const [],
}) : super(key: key);