WebviewScaffold class

Inheritance

Constructors

WebviewScaffold({Key? key, PreferredSizeWidget? appBar, required String url, Map<String, String>? headers, Set<JavascriptChannel> javascriptChannels = const <JavascriptChannel>{}, bool withJavascript = true, bool clearCache = false, bool clearCookies = false, bool mediaPlaybackRequiresUserGesture = true, bool enableAppScheme = true, String? userAgent, bool primary = true, List<Widget>? persistentFooterButtons, Widget? bottomNavigationBar, bool withZoom = false, bool displayZoomControls = false, bool withLocalStorage = true, bool withLocalUrl = false, String? localUrlScope, bool withOverviewMode = false, bool useWideViewPort = false, bool scrollBar = true, bool supportMultipleWindows = false, bool appCacheEnabled = false, bool hidden = false, Widget? initialChild, bool allowFileURLs = false, bool resizeToAvoidBottomInset = false, String? invalidUrlRegex, bool geolocationEnabled = false, bool debuggingEnabled = false, bool ignoreSSLErrors = false})
const

Properties

allowFileURLs bool
final
appBar PreferredSizeWidget?
final
appCacheEnabled bool
final
bottomNavigationBar Widget?
final
clearCache bool
final
clearCookies bool
final
debuggingEnabled bool
final
displayZoomControls bool
final
enableAppScheme bool
final
geolocationEnabled bool
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
final
hidden bool
final
ignoreSSLErrors bool
final
initialChild Widget?
final
invalidUrlRegex String?
final
javascriptChannels Set<JavascriptChannel>
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
localUrlScope String?
final
mediaPlaybackRequiresUserGesture bool
final
persistentFooterButtons List<Widget>?
final
primary bool
final
resizeToAvoidBottomInset bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollBar bool
final
supportMultipleWindows bool
final
url String
final
userAgent String?
final
useWideViewPort bool
final
withJavascript bool
final
withLocalStorage bool
final
withLocalUrl bool
final
withOverviewMode bool
final
withZoom bool
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _WebviewScaffoldState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited