Mention class
Constructors
-
Mention({required String trigger, List<Map<String, dynamic>> data = const [], TextStyle? style, bool matchAll = false, Widget suggestionBuilder(Map<String, dynamic>)?, bool disableMarkup = false, String markupBuilder(String trigger, String mention, String value)?})
-
Properties
-
data
→ List<Map<String, dynamic>>
-
List of Map to represent the suggestions shown to the user
final
-
disableMarkup
→ bool
-
Should the markup generation be disabled for this Mention Item.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
markupBuilder
→ (String Function(String trigger, String mention, String value)?)
-
Allows to set custom markup for the mentioned item.
final
-
matchAll
→ bool
-
Should every non-suggestion with the trigger character be matched
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
style
→ TextStyle?
-
Style for the mention item in Input.
final
-
suggestionBuilder
→ (Widget Function(Map<String, dynamic>)?)
-
Build Custom suggestion widget using this builder.
final
-
trigger
→ String
-
A single character that will be used to trigger the suggestions.
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