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 7ce59d0 commit 08a7350Copy full SHA for 08a7350
lib/image_render.dart
@@ -109,16 +109,6 @@ ImageRender networkImageRender({
109
}) =>
110
(context, attributes, element) {
111
final src = mapUrl?.call(_src(attributes)) ?? _src(attributes)!;
112
- precacheImage(
113
- NetworkImage(
114
- src,
115
- headers: headers,
116
- ),
117
- context.buildContext,
118
- onError: (exception, StackTrace? stackTrace) {
119
- context.parser.onImageError?.call(exception, stackTrace);
120
- },
121
- );
122
Completer<Size> completer = Completer();
123
if (context.parser.cachedImageSizes[src] != null) {
124
completer.complete(context.parser.cachedImageSizes[src]);
0 commit comments