capture_identity_new
library
Classes
-
CaptureView
-
CaptureView is a Flutter widget for capturing images using the device's camera.
It provides a user interface with a live camera preview, framing guides,
and a capture button. After capturing an image, it can be cropped and processed
before being passed to a callback function.
Functions
-
showCapture({required BuildContext context, required String title, String? info, bool? hideIdWidget, VoidCallback? onCameraAccessDenied})
→ Future<File?>
-
The
showCapture function displays a capture screen using the device's camera
to allow users to capture images. It returns a Future<XFile?> representing
the path of the captured and cropped image, or null if the capture process is canceled.