WebViewEthInjected constructor
WebViewEthInjected(
- PolkawalletApi api,
- String initialUrl,
- KeyringEVM keyringEVM, {
- required Keyring keyring,
- required Future<
bool> onSwitchEvmChain(), - required Future<
Map> onEvmRpcCall(), - required Future<
void> onAccountEmpty(), - dynamic onPageFinished()?,
- Function? onExtensionReady,
- dynamic onWebViewCreated(
- WebViewController
- Future<
WCCallRequestResult?> onSignRequestEVM()?, - Future<
ExtensionSignResult?> onSignRequest()?, - Future<
List< onConnectRequest(KeyPairData> >- DAppConnectParam, {
- bool isEvm,
- List<
KeyPairData> checkAuth(})?,
Implementation
WebViewEthInjected(
this.api,
this.initialUrl,
this.keyringEVM, {
required this.keyring,
required this.onSwitchEvmChain,
required this.onEvmRpcCall,
required this.onAccountEmpty,
this.onPageFinished,
this.onExtensionReady,
this.onWebViewCreated,
this.onSignRequestEVM,
this.onSignRequest,
this.onConnectRequest,
this.checkAuth,
});