v0.17.3
flutter_web_browser
एक फ्लटर प्लगइन प्रोजेक्ट जो च्रोम कस्टम टैब्स और SFSafariViewController के साथ वेब पेज खोलता है।
95लाइक 17.5 हज़ार30-दिन डाउनलोड130Pub अंक
AndroidiOS
फ्लटर के लिए प्लगइन, जो क्रोम कस्टम टैब्स और SFSafariViewController के साथ वेब पेज खोलता है
{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
A flutter plugin to open a web page with Chrome Custom Tabs & SFSafariViewController.
This plugin is under development, APIs might change.
Install the library from pub:
dependencies:
flutter_web_browser: "^0.17.3"
import 'package:flutter_web_browser/flutter_web_browser.dart';
FlutterWebBrowser.openWebPage(
url: "https://flutter.io/",
customTabsOptions: const CustomTabsOptions(
colorScheme: CustomTabsColorScheme.dark,
toolbarColor: Colors.deepPurple,
secondaryToolbarColor: Colors.green,
navigationBarColor: Colors.amber,
shareState: CustomTabsShareState.on,
instantAppsEnabled: true,
showTitle: true,
urlBarHidingEnabled: true,
),
safariVCOptions: const SafariViewControllerOptions(
barCollapsingEnabled: true,
preferredBarTintColor: Colors.green,
preferredControlTintColor: Colors.amber,
dismissButtonStyle: SafariViewControllerDismissButtonStyle.close,
modalPresentationCapturesStatusBarAppearance: true,
),
);
This project is licensed under the terms of the MIT license.