To get from Camera we need to pass the ImageSource. camera parameter to this getImage(). we don’t know how much time will it take to capture the image from the camera, so we are written this method inside the future method. similarly to pick an image from the gallery we need to pass ImageSource .
Read moreHow do I import an image into flutter?
Steps to Add an Image:
Read moreHow do I browse images in flutter?
Flutter Image Picker : How to pick image from Gallery or Camera and Display it?
Read moreHow do I search for an image with an image?
Search with a URL
Read more