PayPalButton constructor

const PayPalButton({
  1. Key? key,
  2. String donationText = "Donate with Paypal",
  3. required String paypalButtonId,
  4. Color? color,
  5. VoidCallback? onDonation,
  6. ButtonStyle? style,
  7. Future<bool> onLaunchURL(
    1. String urlString
    )?,
})

Implementation

const PayPalButton(
    {Key? key,
    this.donationText = "Donate with Paypal",
    required this.paypalButtonId,
    this.color,
    this.onDonation,
    this.style,
    this.onLaunchURL})
    : super(key: key);