flutter_custom_tabs
2.6.0, released 4 months ago by an unverified publisher
Launch URLs in Custom Tabs or SFSafariViewController from Flutter apps
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.
- app_links
Handler for Android App Links, iOS Universal Links, and custom URL schemes across mobile and desktop.
92Compare - flutter_floating_bottom_bar
An adaptable floating bottom bar that reacts to scrolling and stays accessible.
87Compare - flutter_branch_sdk
Flutter plugin for Branch SDK supporting deep links, attribution, and analytics.
86Compare - protocol_handler
Register and handle custom protocols and deep links in Flutter apps.
81Compare