AutoSuggestConfig constructor

const AutoSuggestConfig({
  1. Duration debounceDelay = const Duration(milliseconds: 300),
  2. int minSearchLength = 2,
  3. Duration? dataAge = const Duration(minutes: 30),
  4. int maxCacheSize = 100,
  5. bool enablePrefixMatching = true,
  6. RetryConfig? retryConfig,
  7. bool showLoadingForCache = false,
  8. bool keepPreviousOnLoading = true,
})

Implementation

const AutoSuggestConfig({
  this.debounceDelay = const Duration(milliseconds: 300),
  this.minSearchLength = 2,
  this.dataAge = const Duration(minutes: 30),
  this.maxCacheSize = 100,
  this.enablePrefixMatching = true,
  this.retryConfig,
  this.showLoadingForCache = false,
  this.keepPreviousOnLoading = true,
});