Pick Image From Gallery & Crop It

Hey Developers!
I was wondering how can I make a button that opens up the gallery for the user to pick an image, I know it may be done using ImagePicker component. But unfortunately the user can pick any image with any dimension and i want the user to pick an image and crop it using a fixed relative dimensions exactly like when you change your profile image in WhatsApp!

Am not sure how can I do that but i will be very happy to read your suggestions
Thanks & Happy Coding!


Image Cropping Extension


Oh thank you very much @Fabio, that’s very helpful!


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.