| Index: packages/charted/lib/locale/format/number_format.dart
|
| diff --git a/packages/charted/lib/locale/format/number_format.dart b/packages/charted/lib/locale/format/number_format.dart
|
| index 5761e2bcf86efee4ff3135be36e350303dea16ab..9e938f9990f84d00b2859cef79a0373ff9811860 100644
|
| --- a/packages/charted/lib/locale/format/number_format.dart
|
| +++ b/packages/charted/lib/locale/format/number_format.dart
|
| @@ -186,13 +186,13 @@ class NumberFormat {
|
| before = formatGroup(before);
|
| }
|
|
|
| - var length = prefix.length +
|
| - before.length +
|
| - after.length +
|
| - (zcomma ? 0 : negative.length),
|
| - padding = length < width
|
| - ? new List.filled((length = width - length + 1), '').join(fill)
|
| - : '';
|
| + int length = prefix.length +
|
| + before.length +
|
| + after.length +
|
| + (zcomma ? 0 : negative.length);
|
| + var padding = length < width
|
| + ? new List.filled((length = width - length + 1), '').join(fill)
|
| + : '';
|
|
|
| // If the fill character is '0', grouping is applied after padding.
|
| if (zcomma) {
|
|
|