Overview
A Flutter/Dart package that extends WidgetFactory to enable URL launching through HTML <a> tags using the url_launcher plugin. Designed for server-driven UIs, it seamlessly integrates with flutter_widget_from_html, allowing dynamic web content to include clickable links that open in external browsers or apps. This extension simplifies handling hyperlinks in rendered HTML without manual routing logic. It supports all major platforms and enhances interactive content delivery in dynamic UIs.
Use cases
- Rendering clickable links in server-generated HTML
- Integrating external URLs in dynamic UIs
- Enabling deep linking from HTML content
- Supporting rich text with navigation
- Simplifying hyperlink handling in server-driven apps
Key features
- Extends WidgetFactory for HTML link support
- Uses url_launcher under the hood
- Platform-agnostic link opening
- Seamless integration with flutter_widget_from_html
- Automatic handling of href attributes
Suitable for
- Server-driven UI applications
- Apps with dynamic HTML content
- Content-rich mobile and web apps
- Developers using flutter_widget_from_html
- Teams managing UI via remote templates
Considerations
- Requires flutter_widget_from_html to be installed
- Limited to <a> tag navigation
- Does not handle custom link schemes by default
- Dependent on url_launcher configuration
- May need additional security checks for untrusted HTML