GithubSponsorButton constructor

const GithubSponsorButton({
  1. Key? key,
  2. String text = "Sponsor",
  3. required String githubUserName,
  4. VoidCallback? onDonation,
  5. ButtonStyle? style,
  6. Future<bool> onLaunchURL(
    1. String urlString
    )?,
  7. bool isEnabled = true,
})

Implementation

const GithubSponsorButton({
  Key? key,
  this.text = "Sponsor",
  required this.githubUserName,
  this.onDonation,
  this.style,
  this.onLaunchURL,
  this.isEnabled = true,
}) : super(key: key);