pages/image_crop_page
library
Functions
-
confirmAndUploadNewImage(BuildContext context, {required CropHelper cropHelper, required bool isLoggedInMandatory, UserPictureSource? forcedSource})
→ Future<CropParameters?>
-
Lets the user pick a picture, crop it, and save it.
-
confirmAndUploadNewPicture(BuildContext context, {required ImageField imageField, required String barcode, required ProductType? productType, required OpenFoodFactsLanguage language, required bool isLoggedInMandatory, UserPictureSource? forcedSource})
→ Future<CropParameters?>
-
Lets the user pick a new product picture, crop it, and save it.
-
downloadImageUrl(BuildContext context, String? imageUrl, DaoInt daoInt)
→ Future<File?>
-
Downloads an image URL into a file, with a dialog.
-
pickImageFile(BuildContext context, {UserPictureSource? forcedSource})
→ Future<XFile?>
-
Safely picks an image file from gallery or camera, regarding access denied.