launchWebsite function
Implementation
launchWebsite({
required String website,
String scheme = "https",
String query = "",
}) async {
Uri url = Uri(
scheme: scheme,
path: website,
query: query,
);
if (await canLaunchUrl(url)) {
await launchUrl(url);
} else {
print('Could not launch');
}
}