PaystackWebView constructor
const
PaystackWebView({})
Creates a new Paystack checkout view.
publicKeyshould be your Paystack public key (pk_test_...orpk_live_...).amountSmallestUnitis the amount in the smallest unit of the currency (for NGN, kobo; so ₦1,500 =150000).currencyis the three-letter ISO code (e.g."NGN","USD").emailis the payer’s email.referenceis your unique transaction reference.titlesets the text in the custom app bar.
Implementation
const PaystackWebView({
super.key,
required this.publicKey,
required this.amountSmallestUnit,
required this.currency,
required this.email,
required this.reference,
this.title = 'Paystack',
});