PaystackPlugin class

Constructors

PaystackPlugin()

Properties

hashCode int
The hash code for this object.
no setterinherited
publicKey String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkInitialized bool
no setter

Methods

chargeCard(BuildContext context, {required Charge charge}) Future<CheckoutResponse>
Make payment by charging the user's card
checkout(BuildContext context, {required Charge charge, CheckoutMethod method = CheckoutMethod.selectable, bool fullscreen = false, bool hideEmail = false, bool hideAmount = false}) Future<CheckoutResponse>
Make payment using Paystack's checkout form. The plugin will handle the whole processes involved.
dispose() → dynamic
initialize({required String publicKey}) → dynamic
Initialize the Paystack object. It should be called as early as possible (preferably in initState() of the Widget.
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

Static Properties

platformInfo ↔ PlatformInfo
getter/setter pair