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

Introduce logical operators to DecimalIntl to support intl 0.18.0 #98

Merged

Conversation

vase4kin
Copy link
Contributor

@vase4kin vase4kin commented Jul 8, 2023

Hi, I introduced logical operators <, <=, >, >= to DecimalIntl to support the intl package's recent update, 0.18.0.

It actually needed only < operator, but I decided to add all of them, just in case.

The new intl package introduced some changes that broke the NumberFormat.compactCurrency as they now require the logical operator <. You can check it here.

In order to reproduce you can run the test Number.compactCurrency output the correct results on the current intl package version, 0.17.0.

This will help to support the latest Flutter versions > 3.10.0.

Looking forward to getting it merged.

Thanks!

@a14n a14n merged commit fd12ef7 into a14n:master Jul 8, 2023
@a14n
Copy link
Owner

a14n commented Jul 8, 2023

Thanks

@a14n
Copy link
Owner

a14n commented Jul 8, 2023

Change available in 2.3.3

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

Successfully merging this pull request may close these issues.

2 participants