DAppInjectedView class

DAppInjectedView

Inheritance

Constructors

DAppInjectedView({Key? key, required String initialUrl, required WalletWeb3Provider currentProvider, required MethodCallbacks methodCallbacks, String initialScript = '', Widget? loadingChild, InAppWebViewSettings? initialSettings, void onWebViewCreated(InAppWebViewController controller)?, void onWebViewClosed()?, void onLoadStart(InAppWebViewController controller, WebUri? url)?, void onProgressChanged(InAppWebViewController controller, int progress)?, void onLoadStop(InAppWebViewController controller, WebUri? url)?, Future<NavigationActionPolicy?> shouldOverrideUrlLoading(InAppWebViewController controller, NavigationAction navigationAction)?, Future<PermissionResponse?> onPermissionRequest(InAppWebViewController controller, PermissionRequest permissionRequest)?, void onConsoleMessage(InAppWebViewController controller, ConsoleMessage consoleMessage)?, void onReceivedError(InAppWebViewController controller, WebResourceRequest request, WebResourceError error)?, void onUpdateVisitedHistory(InAppWebViewController controller, WebUri? url, bool? isReload)?, void onPageCommitVisible(InAppWebViewController controller, WebUri? url)?})
const

Properties

currentProvider WalletWeb3Provider
final
hashCode int
The hash code for this object.
no setterinherited
initialScript String
final
initialSettings → InAppWebViewSettings?
override method
final
initialUrl String
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loadingChild Widget?
final
methodCallbacks MethodCallbacks
final
onConsoleMessage → void Function(InAppWebViewController controller, ConsoleMessage consoleMessage)?
final
onLoadStart → void Function(InAppWebViewController controller, WebUri? url)?
final
onLoadStop → void Function(InAppWebViewController controller, WebUri? url)?
final
onPageCommitVisible → void Function(InAppWebViewController controller, WebUri? url)?
final
onPermissionRequest Future<PermissionResponse?> Function(InAppWebViewController controller, PermissionRequest permissionRequest)?
final
onProgressChanged → void Function(InAppWebViewController controller, int progress)?
final
onReceivedError → void Function(InAppWebViewController controller, WebResourceRequest request, WebResourceError error)?
final
onUpdateVisitedHistory → void Function(InAppWebViewController controller, WebUri? url, bool? isReload)?
final
onWebViewClosed → void Function()?
final
onWebViewCreated → void Function(InAppWebViewController controller)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldOverrideUrlLoading Future<NavigationActionPolicy?> Function(InAppWebViewController controller, NavigationAction navigationAction)?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<DAppInjectedView>
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, int wrapWidth = 65}) 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