Local storage and display of a image on multiple pages

Widgets & Design

Hi everyone !, this is my first post here ๐Ÿ™‚

I'm building an android app with a 'profile settings' page and a 'home' page. There is a container in the profile settings page which when clicked opens an image picker using which you select a profile photo form the phone's camera or gallery.

How can I store this image in a persistent way (locally without accessing the internet) and set this image to another image widget on a different page on the same app. The selected image should persist the app being restarted.

Hope this is clear enough.

What have you tried so far?

I need help in this. I've tried using an app state of type imagepath, but I cant assign the uploaded local file to this app state (because the uploaded local file is of type bytes)

Did you check FlutterFlow's Documentation for this topic?
Yes
2
6 replies