Skip to content

Commit 6bccb32

Browse files
Merge pull request #1431 from EArminjon/feature/a-href-overridable-style
fit: make a href style overridable
2 parents 42794f6 + 0f3874f commit 6bccb32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/builtins/interactive_element_builtin.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class InteractiveElementBuiltIn extends HtmlExtension {
6262
?.map((e) => _processInteractableChild(context, e))
6363
.toList(),
6464
recognizer: TapGestureRecognizer()..onTap = onTap,
65-
style: childSpan.style,
65+
style: context.styledElement?.style.generateTextStyle() ?? childSpan.style,
6666
semanticsLabel: childSpan.semanticsLabel,
6767
locale: childSpan.locale,
6868
mouseCursor: childSpan.mouseCursor,

0 commit comments

Comments
 (0)