InlayHint class

Inlay hint information.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

InlayHint(Position position, Object label, [InlayHintKind? kind])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
kind InlayHintKind

Available on InlayHint, provided by the InlayHint$Typings extension

The kind of this hint. The inlay hint kind defines the appearance of this inlay hint.
getter/setter pair
label Object

Available on InlayHint, provided by the InlayHint$Typings extension

The label of this hint. A human readable string or an array of {@link InlayHintLabelPart label parts}.
getter/setter pair
paddingLeft bool

Available on InlayHint, provided by the InlayHint$Typings extension

Render padding before the hint. Padding will use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint.
getter/setter pair
paddingRight bool

Available on InlayHint, provided by the InlayHint$Typings extension

Render padding after the hint. Padding will use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint.
getter/setter pair
position Position

Available on InlayHint, provided by the InlayHint$Typings extension

The position of this hint.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textEdits List<TextEdit>

Available on InlayHint, provided by the InlayHint$Typings extension

Optional {@link TextEdit text edits} that are performed when accepting this inlay hint. The default gesture for accepting an inlay hint is the double click.
getter/setter pair
tooltip ↔ dynamic

Available on InlayHint, provided by the InlayHint$Typings extension

The tooltip text when you hover over this item.
getter/setter pair

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