Reputation: 1374
I want to hold the camera screen after clicking the image in the flutter.
Now I am holding the image using container, but its displaying mirror image.
Container(
child:
Center(child:
Image.file(new File(imagePath)))),
return new AspectRatio(
aspectRatio: controller.value.aspectRatio,
child: new CameraPreview(controller),
);
Upvotes: 0
Views: 919
Reputation: 1243
Add a Stack view with preview controller and list to display the captured images list and capture button to capture image.
Add the path to list, use the same list to populate in list view. after taking the no of pictures you need to have a submit button to pop the view. here is the sample code camera_view_sample_code
Upvotes: 2