Skip to content
pubscout

flutter_custom_tabs

2.6.0, released 4 months ago by an unverified publisher

Launch URLs in Custom Tabs or SFSafariViewController from Flutter apps

WASM-ready
$ flutter pub add flutter_custom_tabs
Source repository

What it does

Provides a plugin to open web URLs or deep links in the native browser experience on Android, iOS, and web. It supports extensive customization of the browser UI and lightweight launch options.

AI-written summary of version 2.6.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a native browser view with Custom Tabs or SFSafariViewController for web links
  • You want to customize toolbar colors, sharing, and other UI elements
  • You need to launch deep links or URLs from a Flutter app

Skip it when

  • You only need a simple URL launch without custom UI
  • You are targeting only web and prefer url_launcher directly

Strengths

  • Rich customization of browser UI
  • Supports deep links and custom headers
  • Lightweight version for minimal overhead
  • Cross-platform support (Android, iOS, web)

Weaknesses

  • Requires native setup (Gradle/Kotlin, Xcode)
  • Not suitable for simple URL launches
  • Limited to Custom Tabs/SFSafariViewController features

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
5

Add dependency, run flutter pub get, ensure Android Gradle Plugin 9.0.0+, Kotlin 2.2.10+, Xcode 15+ for iOS. No build_runner needed.

import 'package:flutter_custom_tabs/flutter_custom_tabs.dart';

await launchUrl(Uri.parse('https://flutter.dev'), customTabsOptions: CustomTabsOptions(toolbarColor: Colors.blue));

Alternatives

Packages that do the same job and could replace flutter_custom_tabs.