BuyMeACoffeeButton constructor
const
BuyMeACoffeeButton({
- Key? key,
- String text = "Buy me a Coffee",
- BuyMeACoffeeColor color = BuyMeACoffeeColor.Yellow,
- required String buyMeACoffeeName,
- VoidCallback? onDonation,
- ButtonStyle? style,
- Future<
bool> onLaunchURL(- String urlString
- 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);