WalletConnectQrCodeModal class

Constructors

WalletConnectQrCodeModal({WalletConnect? connector, QrCodeModalBuilder? modalBuilder})
factory

Properties

connector → WalletConnect
WalletConnect connector
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect(BuildContext context, {int? chainId}) Future<SessionStatus?>
Connect to a new session. context is needed to show the QR code dialog.
killSession({String? sessionError}) Future
Kill the current session with sessionError.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openWalletApp({bool verifyNativeLink = false}) Future<bool>
Try to open Wallet selected during session creation. For iOS will try to open previously selected Wallet For Android will open system dialog
registerListeners({OnConnectRequest? onConnect, OnSessionUpdate? onSessionUpdate, OnDisconnect? onDisconnect}) → void
Register callback listeners. onConnect is triggered when session is connected. onSessionUpdate is triggered when session is updated. onDisconnect is triggered when session is disconnected.
sendCustomRequest({required String method, required List params, String? topic}) Future
Send custom request with method, params and optional topic.
toString() String
A string representation of this object.
inherited

Operators

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