Flutter: How to display phone gallery on a container?

195

I'm not sure it would be possible to implement this but one things I have thought of is to request External Storage Access and maybe get the directory where all photo are stored and display the from File. However, this approach may need to a lot exceptions thrown.

I normal image_picker invokes the native channel to be able show the Android Native UI and same for iOS.

Share:
195
Abir Ahsan
Author by

Abir Ahsan

Currently, I am working as a Jr. flutter mobile app Developer. Contact to me +8801716422666

Updated on December 30, 2022

Comments

  • Abir Ahsan
    Abir Ahsan over 1 year

    I found a way to display live camera on a container(). But I want to display gallery on Container() in app and control like photo example.

    enter image description here

    Is it possible in flutter ?

    • ff .n
      ff .n over 2 years
      hi, did you implement this code? i serch for this