formatDigitPatternEnd method

String formatDigitPatternEnd(
  1. String text, {
  2. int digit = 4,
  3. String pattern = ' ',
})

每隔 x位 加 pattern, 从末尾开始

Implementation

String formatDigitPatternEnd(String text,
    {int digit = 4, String pattern = ' '}) {
  String temp = reverse;
  temp = formatDigitPattern(digit: digit, pattern: pattern);
  temp = reverse;
  return temp;
}