SummernoteAtMention class

Summernote @ Mention plugin - adds a dropdown to select the person to mention whenever the '@' character is typed into the editor. The list of people to mention is drawn from the getSuggestionsMobile (on mobile) or mentionsWeb (on Web) parameter. You can detect who was mentioned using the onSelect callback.

README available here

Inheritance

Constructors

SummernoteAtMention({List<String> getSuggestionsMobile(String)?, List<String>? mentionsWeb, void onSelect(String)?})
const

Properties

getSuggestionsMobile → (List<String> Function(String)?)
Function used to get the displayed suggestions on mobile
final
hashCode int
The hash code for this object.
no setterinherited
mentionsWeb List<String>?
List of mentions to display on Web. The default behavior is to only return the mentions containing the string entered by the user in the editor
final
onSelect → (void Function(String)?)
Callback to run code when a mention is selected
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getHeadString() String
Provides the JS and CSS tags to be inserted inside . Only used for Web
override
getMentionsWeb() String
getToolbarString() String
Provides the toolbar option for the plugin
override
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