简体   繁体   中英

How to store images for flutter in a database?

I'm trying to figure out how to store pictures for a group chat in flutter and Firestore. I tried using Firebase storage but I'd have to create a separate storage place for each group. Maybe you have a way to store it somewhere. I also need to show it on the homepage of the user.

The chat page allows you to send images. The sent images can be uploaded/stored on the Firebase storage.Also after hosting these images the paths from the device's local storage can be fetched using image_picker and then finally display these images.

Also check the following examples for similar implementations:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM