SimpleDarkModeAdaptableWebView class
A simple dark-mode-compatible widget.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SimpleDarkModeAdaptableWebView
Constructors
-
SimpleDarkModeAdaptableWebView(String htmlString, {Key? key, String? initialUrl, JavascriptMode javascriptMode = JavascriptMode.disabled, Set<
JavascriptChannel> ? javascriptChannels, Set<Factory< ? gestureRecognizers, PageStartedCallback? onPageStarted, PageFinishedCallback? onPageFinished, bool debuggingEnabled = false, String? userAgent, AutoMediaPlaybackPolicy initialMediaPlaybackPolicy = AutoMediaPlaybackPolicy.require_user_action_for_all_media_types, String mimeType = 'text/html', Encoding? encoding, Map<OneSequenceGestureRecognizer> >String, String> ? parameters, bool base64 = false}) - Constructor. Make a dark-mode-compatible webview.
Properties
- base64 → bool
-
parameter for
Uri.dataFromString.base64
final - debuggingEnabled → bool
-
parameter for
WebView.debuggingEnabled
final - encoding → Encoding?
-
parameter for
Uri.dataFromString.encoding
final -
parameter for
WebView.gestureNavigationEnabled
final -
gestureRecognizers
→ Set<
Factory< ?OneSequenceGestureRecognizer> > -
parameter for
WebView.gestureRecognizers
final - hashCode → int
-
The hash code for this object.
no setterinherited
- htmlString → String
-
raw HTML text.
This widget expects static HTML text only.
final
- initialMediaPlaybackPolicy → AutoMediaPlaybackPolicy
-
parameter for
WebView.initialMediaPlaybackPolicy
final - initialUrl → String?
-
parameter for
WebView.initialUrl
final -
javascriptChannels
→ Set<
JavascriptChannel> ? -
parameter for
WebView.javascriptChannels
final - javascriptMode → JavascriptMode
-
parameter for
WebView.javascriptMode
final - key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- mimeType → String
-
parameter for
Uri.dataFromString.mimeType
final -
parameter for
WebView.navigationDelegate
final - onPageFinished → PageFinishedCallback?
-
parameter for
WebView.onPageFinished
final - onPageStarted → PageStartedCallback?
-
parameter for
WebView.onPageStarted
final -
parameters
→ Map<
String, String> ? -
parameter for
Uri.dataFromString.parameters
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userAgent → String?
-
parameter for
WebView.userAgent
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _WebViewState -
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