Skip to content
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

Not working with flutter 3.7.0 #99

Open
vikramsinghrajpoot opened this issue Feb 27, 2023 · 2 comments
Open

Not working with flutter 3.7.0 #99

vikramsinghrajpoot opened this issue Feb 27, 2023 · 2 comments

Comments

@vikramsinghrajpoot
Copy link

Cropping not working proeprly with flutter 3.7.0
final cropKey = GlobalKey(); /// Initialise

Container(
color: Colors.black,
padding:
const EdgeInsets.symmetric(vertical: 10.0, horizontal: 10.0),
child: Crop.file(widget.file, key: cropKey)) /// Use

final area = cropKey.currentState.area;

area comming nill with black screen

@iazel
Copy link

iazel commented Mar 19, 2023

Hi, I ended up rewriting this plugin and opened a PR #102.

I've updated it to the latest stable flutter version, hence it should solve your issue. Let me know if you find it useful :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@iazel @vikramsinghrajpoot and others