I want to retrieve the images from an api and I get this error. Can anyone help me? Thanks in advance. Note that I am on the localhost
CachedNetworkImage(
imageUrl: AppConstants.BASE_URL +
getCartHistoryList[listCounter - 1].img!,
),
I want to retrieve the images from an api and I get this error. Can anyone help me? Thanks in advance. Note that I am on the localhost
CachedNetworkImage(
imageUrl: AppConstants.BASE_URL +
getCartHistoryList[listCounter - 1].img!,
),
Copyright © 2021 Jogjafile Inc.
First of all you are trying to fetch image using
which will takes
argument as a String and in
format i.e. it should be a link Now come to the error part where error show
which is not the url link so first print this
and you will get to know the reason and will solve that easily