Answers for "cache network image flutter. try to reload the image everytime"

3

cache network image flutter

cached_network_image: ^2.0.0 
            CachedNetworkImage(
                      imageUrl: yoururl,
                      errorWidget: (context, url, error) => Text("error"),
                      imageBuilder: (context, imageProvider) => CircleAvatar(
                        radius: 120,
                        backgroundImage: imageProvider,
                      ),
                      placeholder: (context, url) => CircularProgressIndicator(
                        backgroundColor: primary,
                      ),
                    ),
Posted by: Guest on May-26-2021

Code answers related to "cache network image flutter. try to reload the image everytime"

Browse Popular Code Answers by Language