Flutter Image Picker switch Gallery and Camera Source
Flutter Image Picker switch Gallery and Camera Source

This is a wrapper button for using Flutter’s Image Picker plugin. You can use it to create a button that allows switching between gallery and camera sources. A function that handles the event after the image selection process must also be passed along in order for this button to work. [crayon-5c6e9bb138151644863001/]