mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-04-22 14:59:12 +00:00
17 lines
No EOL
517 B
Dart
17 lines
No EOL
517 B
Dart
import 'package:flutter_web_browser/flutter_web_browser.dart';
|
|
|
|
void openUrl(String url) {
|
|
FlutterWebBrowser.openWebPage(
|
|
url: url,
|
|
customTabsOptions: const CustomTabsOptions(
|
|
instantAppsEnabled: true,
|
|
showTitle: true,
|
|
urlBarHidingEnabled: false,
|
|
),
|
|
safariVCOptions: const SafariViewControllerOptions(
|
|
barCollapsingEnabled: true,
|
|
dismissButtonStyle: SafariViewControllerDismissButtonStyle.close,
|
|
modalPresentationCapturesStatusBarAppearance: true,
|
|
)
|
|
);
|
|
} |