v0.17.3
flutter_web_browser
Chrome Custom Tabs 및 SFSafariViewController를 사용하여 웹 페이지를 열 수 있는 플러터 플러그인 프로젝트입니다.
95좋아요 1.8만30일 다운로드130Pub 점수
AndroidiOS
Flutter용 플러그인으로 Chrome 커스텀 탭과 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.