+131
lib/widgets/external_link_bar.dart
···
feat: add ExternalLinkBar widget for external link display
Add new ExternalLinkBar widget to display external links with
domain name and favicon in a styled, clickable box.
Features:
- Displays domain name (extracted from URL if not provided)
- Shows favicon via Google's favicon service
- Launches URL in external browser on tap
- Comprehensive accessibility support with descriptive labels
- Handles edge cases: invalid URIs, missing domains, subdomains, ports
Design:
- Styled box with secondary background color
- Favicon on left, domain in center, open icon on right
- Consistent with app's design system
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
···