KofiButton constructor
const
KofiButton({
- Key? key,
- String text = "Support me on Ko-fi",
- required String kofiName,
- KofiColor kofiColor = KofiColor.Blue,
- VoidCallback? onDonation,
- ButtonStyle? style,
- Future<
bool> onLaunchURL(- String urlString
- bool isEnabled = true,
Implementation
const KofiButton({
Key? key,
this.text = "Support me on Ko-fi",
required this.kofiName,
this.kofiColor = KofiColor.Blue,
this.onDonation,
this.style,
this.onLaunchURL,
this.isEnabled = true,
}) : super(key: key);