PluralRulesOptions constructor

PluralRulesOptions({
  1. Type type = Type.cardinal,
  2. Digits? digits,
  3. RoundingMode roundingMode = RoundingMode.halfExpand,
  4. int minimumIntegerDigits = 1,
  5. TrailingZeroDisplay trailingZeroDisplay = TrailingZeroDisplay.auto,
  6. 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);