FLUTTER ECOSYSTEM

url_launcher

Flutter plugin for launching a URL. Supports web, phone, SMS, and email schemes.

Latest version
6.3.2
30-day downloads
4.3M
Likes
8.1K
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The url_launcher package enables Flutter apps to open URLs in external applications, supporting web links, phone numbers, SMS, and email. It provides a simple interface to launch URLs using platform-specific schemes, ensuring seamless integration across Android, iOS, Web, macOS, Windows, and Linux. The plugin handles URL validation and redirects users to appropriate apps like browsers, dialers, or mail clients. It's ideal for sharing content, initiating calls, sending messages, or navigating to external websites from within an app.

Use cases
  • Opening web links in browser
  • Initiating phone calls
  • Sending SMS messages
  • Composing emails
  • Sharing content via links
  • Redirecting to external resources
Key features
  • Supports multiple URL schemes
  • Cross-platform compatibility
  • Simple API for launching URLs
  • Automatic handling of platform-specific intents
  • Secure URL parsing
  • Built-in error handling
Suitable for
  • Apps needing external navigation
  • Contact and communication features
  • Content sharing tools
  • User support and feedback systems
  • E-commerce and marketing links
  • Web integration in mobile apps
Considerations
  • Requires proper URL formatting
  • May trigger system permission prompts
  • Limited control over launched app behavior
  • Does not work with custom URL schemes without configuration
  • Potential security risks with untrusted URLs
  • No built-in analytics for link clicks
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add url_launcher

Categories

Source repository

Related projects

Rankings