Convert uploaded file to BLOB format for SQLite database

Widgets & Design

I'm working on a 100% offline Flutterflow application, and I want to save images in my SQLite to facilitate portability and backup management.

Unfortunately, SQLite only saves images in BLOB (Binary/b64) format.

I know I need to build a custom action to convert the uploaded file, but I can't manage to do it from FlutterFlow.

It's hard to find dark packages that can simplify the implementation.

Do you have any ideas for solutions or feedback?

What have you tried so far?

I tried using a few packages such as image, image_picker, ...

But I can't convert the uploaded file, because I don't have access to the path expected by some packages.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
17 replies