We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f93a2 commit 03045d3Copy full SHA for 03045d3
lib/html_parser.dart
@@ -431,15 +431,16 @@ class HtmlParser extends StatelessWidget {
431
key: AnchorKey.of(key, tree),
432
cursor: SystemMouseCursors.click,
433
child: MultipleTapGestureDetector(
434
- onTap: _onAnchorTap != null
435
- ? () => _onAnchorTap!(tree.href, context, tree.attributes, tree.element)
436
- : null,
437
- child: GestureDetector(
438
- key: AnchorKey.of(key, tree),
439
440
441
442
- child: (childSpan as WidgetSpan).child,
+ onTap: _onAnchorTap != null
+ ? () => _onAnchorTap!(tree.href, context, tree.attributes, tree.element)
+ : null,
+ child: GestureDetector(
+ key: AnchorKey.of(key, tree),
+ child: (childSpan as WidgetSpan).child,
443
+ ),
444
),
445
446
);
0 commit comments