Digits.withSignificantDigits constructor

const Digits.withSignificantDigits({
  1. int? minimum = 1,
  2. int? maximum = 21,
})

Implementation

const Digits.withSignificantDigits({
  int? minimum = 1,
  int? maximum = 21,
})  : fractionDigits = (null, null),
      significantDigits = (minimum, maximum),
      roundingPriority = null,
      roundingIncrement = null;