HintResult class

Constructors

HintResult(String? text, {String? displayText, String? className, Position? from, Position? to, HintRenderer? hintRenderer, HintApplier? hintApplier})
HintResult.fromProxy(JsObject m)

Properties

className String?
A CSS class name to apply to the completion's line in the menu.
final
displayText String?
The text that should be displayed in the menu.
final
from Position?
Optional from position that will be used by pick() instead of the global one passed with the full list of completions.
final
hashCode int
The hash code for this object.
no setterinherited
hintApplier HintApplier?
A method used to actually apply the completion, instead of the default behavior. This cooresponds to the JS codemirror hint function.
final
hintRenderer HintRenderer?
A method used to create the DOM structure for showing the completion by appending it to its first argument. This cooresponds to the JS codemirror render function.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
The completion text. This is the only required property.
final
to Position?
Optional to position that will be used by pick() instead of the global one passed with the full list of completions.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toProxy() JsObject
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited