discontinuedPackage flutter_typeahead2 has been discontinued and replaced by flutter_typeahead.

debounceDuration property

Duration debounceDuration
final

The duration to wait after the user stops typing before calling suggestionsCallback

This is useful, because, if not set, a request for suggestions will be sent for every character that the user types.

This duration is set by default to 300 milliseconds

Implementation

final Duration debounceDuration;