GithubSponsorButton constructor
const
GithubSponsorButton({
- Key? key,
- String text = "Sponsor",
- required String githubUserName,
- VoidCallback? onDonation,
- ButtonStyle? style,
- Future<
bool> onLaunchURL(- String urlString
- 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);