BuyMeACoffeeButton constructor

const BuyMeACoffeeButton({
  1. Key? key,
  2. String text = "Buy me a Coffee",
  3. BuyMeACoffeeColor color = BuyMeACoffeeColor.Yellow,
  4. required String buyMeACoffeeName,
  5. VoidCallback? onDonation,
  6. ButtonStyle? style,
  7. Future<bool> onLaunchURL(
    1. String urlString
    )?,
  8. bool isEnabled = true,
})

Implementation

const BuyMeACoffeeButton({
  Key? key,
  this.text = "Buy me a Coffee",
  this.color = BuyMeACoffeeColor.Yellow,
  required this.buyMeACoffeeName,
  this.onDonation,
  this.style,
  this.onLaunchURL,
  this.isEnabled = true,
}) : super(key: key);