locale top-level property

CompactLocale locale
final

Japanese abbreviations for compact numbers and units.

Implementation

final locale = en.locale.copyWith(
  locale: const Locale('ja'),
  labels: {
    CompactLabel.thousand: 'k',
    CompactLabel.million: 'M',
    CompactLabel.billion: 'B',
    CompactLabel.trillion: '兆',
    CompactLabel.byte: 'byte',
    CompactLabel.kilobyte: 'KB',
    CompactLabel.millilitre: 'ml',
    const CompactLabel('number.1e4'): '万',
    const CompactLabel('number.1e8'): '億',
    const CompactLabel('number.1e16'): '京',
  },
);