I have a base64 string given by an external api. The api send that json data that has the base64 image as string. How can i use this string to display an image using Image.memory()
in flutter
Example of the base64 string that the api sends:
iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAIAAADTED8xAAEAAElEQVR4nLz9+bNt23Ueho1mzrnW2nuf9vb3vhbvASDwAAKgRJEUJVak2GUroiIlllV2JFVFVS7/YDn+F1SRo8ofILsSxxXHicMoLpOynbJE0aRIkQQbUBIoAO+hff297/b39HuvteacY4z8MNba9wAEGVkksotFvHvOPrtZa8zRfOMb30CzAYAAEADUVFRVlUNgRAAwAACotZ6cHvd9n3MuYwaApm0Wy+X9+/fPzs9zKV/+Z7/71te+/u67H35072EpypwMAVQQIYRgpojIHJjZzMwsxRDbhETjpi+l1iIqYmBipiLEHDkEZpXctc1q2TETYI1su4t068r+1f2dRRfNjJnbtm2bJ