cooler-king / quantity

A package to make it easy to work with physical quantities.
MIT License
19 stars 4 forks source link

Support intl 18.0 #36

Closed smarinier closed 1 year ago

smarinier commented 1 year ago

Intl 17-> 18 adds new get/set methods for maximumSignificantDigits and minimumSignificantDigits

As NumberFormatSI from Quantity "implements" NumberFormat, dart compilation breaks on:

Error: The non-abstract class 'NumberFormatSI' is missing implementations for these members:

(and also its other extended classes : EngineeringFormatSI, ScientificFormatSI)

cooler-king commented 1 year ago

Thank you. I will address this later this week.

smarinier commented 1 year ago

This should also fix analysis issue : https://pub.dev/packages/quantity/score

cooler-king commented 1 year ago

Community PR merged.