Digits.withSignificantAndFractionDigits constructor
const
Digits.withSignificantAndFractionDigits({
- int? minimumSignificantDigits = 1,
- int? maximumSignificantDigits = 21,
- int? minimumFractionDigits,
- int? maximumFractionDigits,
- 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;