Relative Content

Tag Archive for androidflutterimagefilecaching

Flutter, how can I access to cached file in android?

this is a simple logic that the app gets data from open api and stores images in cache, showing an image in a screen a user selected. When a user decides to save it, I intended to save it in a document directory.
What’s drove me crazy was that the image from cached file path works perfectly in a screen, but when I tried to save it in document directory, it throws an error that the path doesn’t exist.

Flutter, how can i access cached file in android?

this is a simple logic that the app gets data from open api and stores images in cache, showing an image in a screen a user selected. When a user decides to save it, I intended to save it in a document directory.
What’s drove me crazy was that the image from cached file path works perfectly in a screen, but when I tried to save it in document directory, it throws an error that the path doesn’t exist.