FileDecorationProvider class

The decoration provider interfaces defines the contract between extensions and file decorations.

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

Constructors

FileDecorationProvider({Event? onDidChangeFileDecorations, FutureOr<FileDecoration> provideFileDecoration(Uri, CancellationToken)?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
onDidChangeFileDecorations Event?

Available on FileDecorationProvider, provided by the FileDecorationProvider$Typings extension

An optional event to signal that decorations for one or many files have changed.
getter/setter pair
provideFileDecoration FutureOr<FileDecoration> Function(Uri, CancellationToken)

Available on FileDecorationProvider, provided by the FileDecorationProvider$Typings extension

getter/setter pair
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