SuggestionFieldConfig constructor

const SuggestionFieldConfig({
  1. int maxHistoryItems = 50,
  2. bool showRemoveButton = true,
  3. bool enableSuggestions = true,
  4. Duration animationDuration = const Duration(milliseconds: 300),
  5. double maxSuggestionsHeight = 200,
  6. double suggestionBoxMargin = 8.0,
  7. bool filterOnTyping = true,
  8. int minCharsForSuggestions = 1,
  9. HistoryStorageType storageType = HistoryStorageType.persistent,
  10. double horizontalMargin = 16.0,
})

Implementation

const SuggestionFieldConfig({
  this.maxHistoryItems = 50,
  this.showRemoveButton = true,
  this.enableSuggestions = true,
  this.animationDuration = const Duration(milliseconds: 300),
  this.maxSuggestionsHeight = 200,
  this.suggestionBoxMargin = 8.0,
  this.filterOnTyping = true,
  this.minCharsForSuggestions = 1,
  this.storageType = HistoryStorageType.persistent,
  this.horizontalMargin = 16.0,
});