launchUrlCustomTab function
- String? url
Implementation
void launchUrlCustomTab(String? url) {
if (url.validate().isNotEmpty) {
custom_tabs.launch(
url!,
customTabsOption: custom_tabs.CustomTabsOption(
enableDefaultShare: true,
enableInstantApps: true,
enableUrlBarHiding: true,
showPageTitle: true,
toolbarColor: primaryColor,
),
);
}
}