number_display library Null safety

Display number smartly within a certain length.

Constants

maxPrecision → const int
12

Functions

createDisplay({int length = 9, int? decimal, String placeholder = '', String? separator = ',', String? decimalPoint = '.', RoundingType roundingType = RoundingType.round, List<String> units = const ['k', 'M', 'G', 'T', 'P']}) Display

Enums

RoundingType

Typedefs

Display = String Function(num? value)