closeCustomTabs function
Closes all custom tabs that were opened earlier by "launchUrl".
Availability:
- Android: SDK 23+
- iOS: Any
- Web: Not supported
Implementation
Future<void> closeCustomTabs() async {
await CustomTabsPlatform.instance.closeAllIfPossible();
}