Assets image path for SQLite

Database & APIs

I'm new to FlutterFlow and I'm trying to create a completely offline app, so I chose to use SQLite. I can get texts from my database, but I can't get images. As a test, I inserted the URL of an image hosted on a website into my database, and this image opens normally in the app (although I have to download and install the APK to verify this). But when I try to insert a path for an image that is in Assets, it does not appear in the app. I've tried countless syntaxes for the image path (assets/images/my-image-name.jpg) and nothing works.

I know I could use an image directly from Assets, without getting its path through the database. But I need these images to be obtained dynamically.

What am I doing wrong?

What have you tried so far?

I already enabled "Download Unused Project Assets" in the App Details panel, which did not solve the problem.

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