KofiButton constructor

const KofiButton({
  1. Key? key,
  2. String text = "Support me on Ko-fi",
  3. required String kofiName,
  4. KofiColor kofiColor = KofiColor.Blue,
  5. VoidCallback? onDonation,
  6. ButtonStyle? style,
  7. Future<bool> onLaunchURL(
    1. String urlString
    )?,
  8. 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);