From 21b6987fc6c7df8a4bc53ae0b31c93b22e3ba06e Mon Sep 17 00:00:00 2001 From: Wolfgang Haupt Date: Sat, 23 Nov 2024 21:04:12 +0100 Subject: [PATCH] fix: underline color of hrefs We need to explicitly set the underline color to the same blue as we set the text. fixes: https://github.com/Sub6Resources/flutter_html/issues/1414 We need to explicitly set the text decoration color. --- lib/src/builtins/interactive_element_builtin.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/builtins/interactive_element_builtin.dart b/lib/src/builtins/interactive_element_builtin.dart index e8486b0701..c5c5be8378 100644 --- a/lib/src/builtins/interactive_element_builtin.dart +++ b/lib/src/builtins/interactive_element_builtin.dart @@ -30,6 +30,7 @@ class InteractiveElementBuiltIn extends HtmlExtension { style: Style( color: Colors.blue, textDecoration: TextDecoration.underline, + textDecorationColor: Colors.blue, ), node: context.node, elementId: context.id,