locale top-level property
English/international abbreviations; the root provider default.
Implementation
final locale = CompactLocale(
locale: const Locale('en'),
labels: {
CompactLabel.quecto: 'q',
CompactLabel.ronto: 'r',
CompactLabel.yocto: 'y',
CompactLabel.zepto: 'z',
CompactLabel.atto: 'a',
CompactLabel.femto: 'f',
CompactLabel.pico: 'p',
CompactLabel.nano: 'n',
CompactLabel.micro: 'µ',
CompactLabel.milli: 'm',
CompactLabel.thousand: 'k',
CompactLabel.million: 'M',
CompactLabel.billion: 'B',
CompactLabel.trillion: 'T',
CompactLabel.quadrillion: 'P',
CompactLabel.quintillion: 'E',
CompactLabel.sextillion: 'Z',
CompactLabel.septillion: 'Y',
CompactLabel.octillion: 'R',
CompactLabel.nonillion: 'Q',
CompactLabel.byte: 'B',
CompactLabel.kilobyte: 'kB',
CompactLabel.megabyte: 'MB',
CompactLabel.gigabyte: 'GB',
CompactLabel.terabyte: 'TB',
CompactLabel.petabyte: 'PB',
CompactLabel.exabyte: 'EB',
CompactLabel.zettabyte: 'ZB',
CompactLabel.yottabyte: 'YB',
CompactLabel.ronnabyte: 'RB',
CompactLabel.quettabyte: 'QB',
CompactLabel.kibibyte: 'KiB',
CompactLabel.mebibyte: 'MiB',
CompactLabel.gibibyte: 'GiB',
CompactLabel.tebibyte: 'TiB',
CompactLabel.pebibyte: 'PiB',
CompactLabel.exbibyte: 'EiB',
CompactLabel.zebibyte: 'ZiB',
CompactLabel.yobibyte: 'YiB',
CompactLabel.micrometre: 'µm',
CompactLabel.millimetre: 'mm',
CompactLabel.centimetre: 'cm',
CompactLabel.metre: 'm',
CompactLabel.kilometre: 'km',
CompactLabel.squareMillimetre: 'mm²',
CompactLabel.squareCentimetre: 'cm²',
CompactLabel.squareMetre: 'm²',
CompactLabel.squareKilometre: 'km²',
CompactLabel.cubicMillimetre: 'mm³',
CompactLabel.cubicCentimetre: 'cm³',
CompactLabel.cubicMetre: 'm³',
CompactLabel.cubicKilometre: 'km³',
CompactLabel.microlitre: 'µL',
CompactLabel.millilitre: 'mL',
CompactLabel.centilitre: 'cL',
CompactLabel.decilitre: 'dL',
CompactLabel.litre: 'L',
CompactLabel.hectolitre: 'hL',
CompactLabel.kilolitre: 'kL',
CompactLabel.microgram: 'µg',
CompactLabel.milligram: 'mg',
CompactLabel.gram: 'g',
CompactLabel.kilogram: 'kg',
CompactLabel.tonne: 't',
},
);