flutter_pattern_formatter icon indicating copy to clipboard operation
flutter_pattern_formatter copied to clipboard

Cannot upgrade to Flutter 2

Open jonsamwell opened this issue 4 years ago • 1 comments

As this package uses intl: 0.16.0 and Flutter v2 uses 0.17.0 we cannot upgrade until this package constraints on intl allow 0.17.0


Because pattern_formatter 1.0.2 depends on intl ^0.16.0 and no versions of pattern_formatter match >1.0.2 <2.0.0, pattern_formatter ^1.0.2 requires intl ^0.16.0.

So, because my_app depends on both intl ^0.17.0 and pattern_formatter ^1.0.2, version solving failed.

jonsamwell avatar Mar 04 '21 22:03 jonsamwell

I forked this project and migrated it to null safety support. Feel free to use, test and improve it if you want. Just add at your pubspec.yaml

pattern_formatter: git: url: https://github.com/eduardotq/flutter_pattern_formatter.git ref: Null-safety

I had also openned a PR to package's owner analises #14

eduardotq avatar Mar 11 '21 15:03 eduardotq