decimalLeadingZero property

CounterStyle decimalLeadingZero
final

Decimal numbers padded by initial zeros (e.g., 01, 02, 03, ..., 98, 99, 100).

Implementation

static final decimalLeadingZero = CounterStyle.define(
  name: 'decimal-leading-zero',
  system: System.numeric,
  symbols: const ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
  padCharacter: '0',
  padLength: 2,
);