Closed vijayvaghela72 closed 1 month ago
also i have try to downgrade this version in pubspect file but still facing this error .
i've try
flutter clean flutter pub get flutter run
:( breaking changes on a minor version change. :(
this kind of changes rely effect development process
need to be a more professional !
please test small things and then update package in pub.dev :(
Hi, If you are using flutter version <=3.19 then consider using "2.3.0" of screenshot
.
Version 2.4.0
is update for flutter >=3.22 .
We have mentioned it in Changelog. Please consider checking changelog before using it. "https://pub.dev/packages/screenshot/changelog#240---14052024"
Please in the future use 3.0.0 when doing breaking changes.
This is the documentation on how to do semantic versioning: https://semver.org/
Also use the proper pubspec config to indicate that a version should only be used as of a specific version.
environment:
flutter: '>=3.22.0'
@vanlooverenkoen Ok, Thank you for suggestions. I will consider your suggestions for future releases.
On a side note, Flutter itself didn't release a major version for this breaking change in their api.
We published 2 versions
2.5.0
: As a revert for release 2.4.0
with maximum constraint.3.0.0
: Major change with minimum flutter constraint flutter: '>=3.22.0'
.I hope this would solve version issues. closing this issue . If you think this is incorrect please consider reopening the issue.
Thanks for update !
Version 3.0.0 is just awesome !