PluralRulesOptions constructor
PluralRulesOptions({
- Type type = Type.cardinal,
- Digits? digits,
- RoundingMode roundingMode = RoundingMode.halfExpand,
- int minimumIntegerDigits = 1,
- TrailingZeroDisplay trailingZeroDisplay = TrailingZeroDisplay.auto,
- LocaleMatcher localeMatcher = LocaleMatcher.bestfit,
Implementation
PluralRulesOptions({
this.type = Type.cardinal,
Digits? digits,
this.roundingMode = RoundingMode.halfExpand,
this.minimumIntegerDigits = 1,
this.trailingZeroDisplay = TrailingZeroDisplay.auto,
this.localeMatcher = LocaleMatcher.bestfit,
}) : digits = NumberFormatOptions.getDigits(const DecimalStyle(), digits);