Skip to content

Commit af4ca1d

Browse files
author
Andrei
committed
Changed InkWell to GestureDetector
1 parent 86ccb5c commit af4ca1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/html_parser.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ class HtmlRichTextParser extends StatelessWidget {
627627
buildContext,
628628
onError: onImageError,
629629
);
630-
parseContext.rootWidgetList.add(InkWell(
630+
parseContext.rootWidgetList.add(GestureDetector(
631631
child: Image.memory(
632632
base64.decode(node.attributes['src'].split("base64,")[1].trim()),
633633
width: imageProperties?.width,
@@ -652,7 +652,7 @@ class HtmlRichTextParser extends StatelessWidget {
652652
buildContext,
653653
onError: onImageError,
654654
);
655-
parseContext.rootWidgetList.add(InkWell(
655+
parseContext.rootWidgetList.add(GestureDetector(
656656
child: Image.network(
657657
node.attributes['src'],
658658
width: imageProperties?.width,

0 commit comments

Comments
 (0)