The callback that will be called each time the picture is taken.
final Future<void> Function(ImageRef image)? onPictureTaken;