ReplySuggestionsConfig class
Configuration for reply suggestions in a chat view.
Constructors
-
ReplySuggestionsConfig({SuggestionListConfig? listConfig, SuggestionItemConfig? itemConfig, ValueSetter<
SuggestionItemData> ? onTap, bool autoDismissOnSelection = true, SuggestionItemsType suggestionItemType = SuggestionItemsType.scrollable, double spaceBetweenSuggestionItemRow = 10}) -
const
Properties
- autoDismissOnSelection → bool
-
If true, the suggestion popup will be dismissed automatically when a suggestion is selected.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemConfig → SuggestionItemConfig?
-
Used to give configuration for suggestion item.
final
- listConfig → SuggestionListConfig?
-
Used to give configuration for suggestion list.
final
-
onTap
→ ValueSetter<
SuggestionItemData> ? -
Provides callback when user taps on suggestion item.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spaceBetweenSuggestionItemRow → double
-
Defines the space between each row of suggestion items.
final
- suggestionItemType → SuggestionItemsType
-
Defines the type of suggestion items, whether they are scrollable or not.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited