locale top-level property

CompactLocale locale
final

Simplified Chinese abbreviations for compact numbers and units.

Implementation

final locale = en.locale.copyWith(
  locale: const Locale('zh'),
  labels: {
    CompactLabel.thousand: 'k',
    CompactLabel.million: 'M',
    CompactLabel.billion: 'B',
    CompactLabel.trillion: '万亿',
    CompactLabel.micrometre: '微米',
    CompactLabel.millimetre: '毫米',
    CompactLabel.centimetre: '厘米',
    CompactLabel.metre: '米',
    CompactLabel.kilometre: '公里',
    CompactLabel.squareCentimetre: '平方厘米',
    CompactLabel.squareMetre: '平方米',
    CompactLabel.squareKilometre: '平方公里',
    CompactLabel.cubicCentimetre: '立方厘米',
    CompactLabel.cubicMetre: '立方米',
    CompactLabel.cubicKilometre: '立方千米',
    CompactLabel.millilitre: '毫升',
    CompactLabel.centilitre: '厘升',
    CompactLabel.decilitre: '分升',
    CompactLabel.litre: '升',
    CompactLabel.hectolitre: '公石',
    const CompactLabel('number.1e4'): '万',
    const CompactLabel('number.1e8'): '亿',
  },
);