ViewPluginSpec<V> class
Configuration options for a view plugin.
Constructors
-
ViewPluginSpec({Map<
String, bool Function(dynamic event, EditorViewState view)> ? eventHandlers, Map<String, void Function(dynamic event, EditorViewState view)> ? eventObservers, RangeSet<Decoration> decorations(V)?}) -
const
Properties
-
decorations
→ RangeSet<
Decoration> Function(V)? -
A function to extract decorations from the plugin value.
final
-
eventHandlers
→ Map<
String, bool Function(dynamic event, EditorViewState view)> ? -
Event handlers for this plugin.
final
-
eventObservers
→ Map<
String, void Function(dynamic event, EditorViewState view)> ? -
Event observers for this plugin.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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