CustomTextEditorProvider constructor
CustomTextEditorProvider({
- FutureOr<
void> resolveCustomTextEditor()?,
Implementation
factory CustomTextEditorProvider(
{_i4.FutureOr<void> Function(
_i3.TextDocument,
_i3.WebviewPanel,
_i3.CancellationToken,
)? resolveCustomTextEditor}) =>
CustomTextEditorProvider._(
resolveCustomTextEditor: resolveCustomTextEditor == null
? null
: _i5.allowInterop((
p0,
p1,
p2,
) =>
_i6.Promise.futureOr(() => resolveCustomTextEditor(
p0,
p1,
p2,
))));