narrow function

CompactLocale narrow({
  1. String k = 'т',
  2. String M = 'М',
  3. String B = 'Мд',
  4. String T = 'Т',
})

Returns this locale with short, customizable magnitude labels for narrow displays.

Implementation

// ignore: non_constant_identifier_names
CompactLocale narrow({String k = 'т', String M = 'М', String B = 'Мд', String T = 'Т'}) => locale.copyWith(labels: {CompactLabel.thousand: k, CompactLabel.million: M, CompactLabel.billion: B, CompactLabel.trillion: T});