utils/imagePickerAndCropper library

Functions

imageCropper(BuildContext context, XFile image, double? aspectRatio) Future<XFile?>
A utility function that allows the user to crop an image on mobile.
imagePickAndCrop(BuildContext context, double? aspectRatio) Future<XFile?>
A utility function that allows the user to pick an image from their gallery and crop it. On the web, the context is required to display the cropper.
imagePicker(BuildContext context) Future<XFile?>
A utility function that allows the user to pick an image from their gallery.