Callback invoked when camera captures image.
final void Function(File? image, Uint8List? imageCropped) onCapture;