I'm currently working on a Flutter application using the crop package to enable users to crop images and videos. My goal is to capture the x, y coordinates, as well as the height and width of the crop area, not only for client-side processing but also for server-side integration.
Additionally, I want to allow users to move the image or video within the crop area seamlessly. However, I'm facing some challenges in achieving this functionality. Any guidance or code snippets to help me extract the crop area dimensions and implement smooth movement of the media would be greatly appreciated!
I'm currently working on a Flutter application using the crop package to enable users to crop images and videos. My goal is to capture the x, y coordinates, as well as the height and width of the crop area, not only for client-side processing but also for server-side integration.
Additionally, I want to allow users to move the image or video within the crop area seamlessly. However, I'm facing some challenges in achieving this functionality. Any guidance or code snippets to help me extract the crop area dimensions and implement smooth movement of the media would be greatly appreciated!
Thank you in advance for your assistance!
use in my project https://pub.dev/packages/crop
https://github.com/user-attachments/assets/64b24683-5591-44f3-aa5d-7b1f897915f2