feat: integrate link handling in chat screen with linkify support

- Added flutter_linkify package to auto-detect and linkify URLs in chat messages.
- Implemented LinkHandler class to manage link tap confirmations and URL launching.
- Updated chat_screen.dart to use Linkify for displaying message text with links.
- Registered url_launcher plugin for handling URL launches across platforms.
- Updated pubspec.yaml and pubspec.lock to include new dependencies.
- Cleaned up untranslated.json by removing unused translations.
This commit is contained in:
zjs81
2026-01-20 21:42:54 -07:00
parent 1cc887e5bb
commit a0be63b2e7
41 changed files with 1615 additions and 619 deletions
+30
View File
@@ -2226,6 +2226,36 @@ abstract class AppLocalizations {
/// **'Unread: {count}'**
String chat_unread(int count);
/// No description provided for @chat_openLink.
///
/// In en, this message translates to:
/// **'Open Link?'**
String get chat_openLink;
/// No description provided for @chat_openLinkConfirmation.
///
/// In en, this message translates to:
/// **'Do you want to open this link in your browser?'**
String get chat_openLinkConfirmation;
/// No description provided for @chat_open.
///
/// In en, this message translates to:
/// **'Open'**
String get chat_open;
/// No description provided for @chat_couldNotOpenLink.
///
/// In en, this message translates to:
/// **'Could not open link: {url}'**
String chat_couldNotOpenLink(String url);
/// No description provided for @chat_invalidLink.
///
/// In en, this message translates to:
/// **'Invalid link format'**
String get chat_invalidLink;
/// No description provided for @map_title.
///
/// In en, this message translates to: