-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full rewrite #102
base: master
Are you sure you want to change the base?
Full rewrite #102
Conversation
- Externalize state - Write tests - Use Canvas API for actual cropping
Hi there! I am not the author of the package. However, I suggest that you create your own new package for your rewrite. This makes much more sense from both a maintenance and also a usage perspective. This will signal to users that this is a new, better package that has to be used differently. Also, you will not have to wait for the maintainer to follow up. |
Yes, I thought about that too, but it comes with a bag of issues, like having to let people discover it. If the author likes the new version, then we all win because it will be a much smoother transition than finding a new library, and will better credit the effort they have invested in it so far :) Also, right now I don't have much time to curate a new library, perhaps in the future I will properly publish it if this doesn't bring us anywhere. Nonetheless, thanks for your point of view. |
@iazel I tried your rewrite on Flutter 3.0.2, and I get this error:
|
Hi @lukehutch , thanks for letting me know, I've updated this branch to work with Flutter 3.10. Let me know how it goes :) About publishing as another package, I currently don't have much time to dedicate, but I may release it at the beginning of next year if @lykhonis don't want to merge it or doesn't respond |
@iazel Can you please open the issue tracker on your repo? I have a few changes I may want to submit (e.g. I want to limit the crop region to a given minimum size -- currently only max zoom scale is supported as a constraint). It looks like I can submit PRs but not issues. |
@lukehutch done, now it is possible to both create issues and discussions |
Hey there, thanks for publishing this plugin, it was of great inspiration for my work.
While playing around with it for my use case, I ended up doing a full rewrite. I believe this to be a better version, because:
Please let me know if you have any questions, hope you'd like it! :)