TMentionOption class
A mentionable entity (e.g. a user) suggested by TMentionsField.
Constructors
- TMentionOption({required String id, required String label, Widget? avatar})
-
const
Properties
- avatar → Widget?
-
Optional avatar/leading widget shown in the suggestion row.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique id, inserted as
@id(or displayed via label if you render mentions client-side with a rich-text renderer).final - label → String
-
Display label shown in the suggestion list and inserted into the text.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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