USearchField constructor

const USearchField({
  1. required void onSearch(
    1. String query
    ),
  2. Key? key,
  3. String? hint,
  4. Duration debounce = const Duration(milliseconds: 400),
  5. TextEditingController? controller,
  6. bool autofocus = false,
  7. int minLength = 0,
})

Implementation

const USearchField({required this.onSearch, super.key, this.hint, this.debounce = const Duration(milliseconds: 400), this.controller, this.autofocus = false, this.minLength = 0});