takePicture abstract method

Future<void> takePicture(
  1. ImageCallback callback
)

Take a picture and return the bytes in callback.

The default output is for a JPEG image.

This should only be called after passing as a parameter to a CameraController and CameraController.initialize has been called.

Implementation

Future<void> takePicture(ImageCallback callback);