diff --git a/lib/circular_profile_avatar.dart b/lib/circular_profile_avatar.dart index d7b2d85..9a89337 100644 --- a/lib/circular_profile_avatar.dart +++ b/lib/circular_profile_avatar.dart @@ -1,6 +1,7 @@ library circular_profile_avatar; import 'package:cached_network_image/cached_network_image.dart'; +import 'package:cached_network_image_platform_interface/cached_network_image_platform_interface.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; @@ -167,6 +168,7 @@ class _CircularProfileAvatarState extends State { child: CachedNetworkImage( fit: widget.imageFit, imageUrl: widget.imageUrl, + imageRenderMethodForWeb: ImageRenderMethodForWeb.HttpGet, errorWidget: widget.errorWidget, placeholder: widget.placeHolder, imageBuilder: widget.imageBuilder,