WebviewView class

A webview based view.

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

Constructors

WebviewView.new({String? viewType, Webview? webview, String? title, String? description, ViewBadge? badge, Event<void>? onDidDispose, bool? visible, Event<void>? onDidChangeVisibility, void show([bool?])?})
factory

Properties

badge ViewBadge?

Available on WebviewView, provided by the WebviewView$Typings extension

The badge to display for this webview view. To remove the badge, set to undefined.
getter/setter pair
description String?

Available on WebviewView, provided by the WebviewView$Typings extension

Human-readable string which is rendered less prominently in the title.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onDidChangeVisibility Event<void>

Available on WebviewView, provided by the WebviewView$Typings extension

Event fired when the visibility of the view changes.
no setter
onDidDispose Event<void>

Available on WebviewView, provided by the WebviewView$Typings extension

Event fired when the view is disposed.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show ↔ void Function([bool?])

Available on WebviewView, provided by the WebviewView$Typings extension

getter/setter pair
title String?

Available on WebviewView, provided by the WebviewView$Typings extension

View title displayed in the UI.
getter/setter pair
viewType String

Available on WebviewView, provided by the WebviewView$Typings extension

Identifies the type of the webview view, such as 'hexEditor.dataView'.
no setter
visible bool

Available on WebviewView, provided by the WebviewView$Typings extension

Tracks if the webview is currently visible.
no setter
webview Webview

Available on WebviewView, provided by the WebviewView$Typings extension

The underlying webview for the view.
no setter

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