Digits.withFractionDigits constructor

const Digits.withFractionDigits({
  1. int? minimum,
  2. int? maximum,
  3. int? roundingIncrement,
})

Implementation

const Digits.withFractionDigits({
  int? minimum,
  int? maximum,
  this.roundingIncrement,
})  : fractionDigits = (minimum, maximum),
      significantDigits = (null, null),
      roundingPriority = null,
      assert(roundingIncrement == null ||
          ((minimum != null || maximum != null) || minimum == maximum)),
      assert((minimum == null || maximum == null) || minimum < maximum);