Digits.withSignificantAndFractionDigits constructor

const Digits.withSignificantAndFractionDigits({
  1. int? minimumSignificantDigits = 1,
  2. int? maximumSignificantDigits = 21,
  3. int? minimumFractionDigits,
  4. int? maximumFractionDigits,
  5. RoundingPriority? roundingPriority = RoundingPriority.auto,
})

Implementation

const Digits.withSignificantAndFractionDigits({
  int? minimumSignificantDigits = 1,
  int? maximumSignificantDigits = 21,
  int? minimumFractionDigits,
  int? maximumFractionDigits,
  this.roundingPriority = RoundingPriority.auto,
})  : fractionDigits = (minimumFractionDigits, maximumFractionDigits),
      significantDigits =
          (minimumSignificantDigits, maximumSignificantDigits),
      roundingIncrement = null;