PaystackWebView constructor

const PaystackWebView({
  1. Key? key,
  2. required String publicKey,
  3. required int amountSmallestUnit,
  4. required String currency,
  5. required String email,
  6. required String reference,
  7. String title = 'Paystack',
})

Implementation

const PaystackWebView({
  super.key,
  required this.publicKey, // pk_test_...
  required this.amountSmallestUnit, // kobo for NGN
  required this.currency, // 'NGN'
  required this.email,
  required this.reference,
  this.title = 'Paystack',
});