setInlayHints method

void setInlayHints(
  1. List<InlayHint> hints
)

Sets inlay hints directly.

Use this method if you want to provide custom inlay hints instead of fetching them from the LSP server.

Implementation

void setInlayHints(List<InlayHint> hints) {
  _inlayHints = hints;
  inlayHintsChanged = true;
  notifyListeners();
}