takePicture method

Future<String?> takePicture()

Captures a static image and saves it to the temporary directory. Returns the file path of the captured image.

Implementation

Future<String?> takePicture() async {
  return await FlutterCropCameraPlatform.instance.takePicture();
}