SuggestionFieldConfig constructor
const
SuggestionFieldConfig({
- int maxHistoryItems = 50,
- bool showRemoveButton = true,
- bool enableSuggestions = true,
- Duration animationDuration = const Duration(milliseconds: 300),
- double maxSuggestionsHeight = 200,
- double suggestionBoxMargin = 8.0,
- bool filterOnTyping = true,
- int minCharsForSuggestions = 1,
- HistoryStorageType storageType = HistoryStorageType.persistent,
- 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,
});