DocumentColorProvider class

The document color provider defines the contract between extensions and feature of picking and modifying colors in the editor.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

DocumentColorProvider({FutureOr<List<ColorInformation>> provideDocumentColors(TextDocument, CancellationToken)?, FutureOr<List<ColorPresentation>> provideColorPresentations(Color, dynamic, CancellationToken)?})
factory

Properties

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