WalletButtonController class

Lets you start the payment yourself instead of waiting for the customer to tap the button. Obtain one from PeachWalletButton.controller.

Constructors

WalletButtonController()

Properties

hashCode → int
The hash code for this object.
no setterinherited
isAttached → bool
Whether the button has mounted and is ready to take a payment.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

confirm({String? clientSecret}) → Future<void>
Starts the payment. The customer still completes it in the wallet's own sheet.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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