narrow function

CompactLocale narrow({
  1. String k = 't',
  2. String M = 'M',
  3. String B = 'Md',
  4. String T = 'B',
})

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

Implementation

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