cropperFallback function
Implementation
@deprecated
Future<PFile?> cropperFallback(BuildContext context, PFile source) async {
try {
final bytes = await source.awaitData;
// ignore: missing_required_param
return await Modals.open(
context,
builder: (context) {
return Cropper(image: bytes);
},
);
} catch (e, stack) {
_log.severe("Error $e", e, stack);
rethrow;
}
}