URL Launcher Adapter
Component Detail
Infrastructure
low complexity
Shared Component
mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Thin Flutter adapter wrapping the url_launcher package to open external URLs in the device's default system browser. Abstracts the package API for testability and provides a consistent interface for all link-opening in the app.
url-launcher-adapter
Responsibilities
- Open external URLs in the system browser using url_launcher
- Validate URL scheme before launching to prevent malformed URL errors
- Provide a mockable interface for unit testing screen components
Interfaces
launchUrl(String url) → Future<void>
canLaunch(String url) → Future<bool>