human_file_size 0.6.1
human_file_size: ^0.6.1 copied to clipboard
A robust, customisable package to get a human representation of the size of your files.
0.6.1 #
- Added
collectionas a dev dependency. - Improved test suite by simplifying tests and adding more test cases.
0.6.0 #
- Split up the previously monolithic files into a file per class.
- Split up test files to match the layout of the codebase.
- Moved defaults into a new file
defaults.dart. - Renamed:
BinarySystem->BinaryNumeralSystemDecimalSystem->DecimalNumeralSystemBestFitConversion->BestFitUnitConversionLongLowercaseStyle->LongLowercaseUnitStyleLongUppercaseStyle->LongUppercaseUnitStyleShortLowercaseStyle->ShortLowercaseUnitStyleShortUppercaseStyle->ShortUppercaseUnitStyle
- Added namespaced, enum-like constructors:
NumeralSystem.binary()NumeralSystem.decimal()OutputFormat.simple()QuantityDisplayMode.custom()QuantityDisplayMode.intl()QuantityDisplayMode.simple()UnitConversion.bestFit()UnitConversion.specific()UnitStyle.longLowercase()UnitStyle.longUppercase()UnitStyle.shortLowercase()UnitStyle.shortUppercase()
0.5.1 #
- Added missing piece of documentation.
0.5.0 #
- Added
OutputFormatterto format the produced output.
0.4.0 #
- Added
intlas a dependency. - Added
IntlQuantityDisplayMode. - Renamed
SimpleDisplayModetoSimpleQuantityDisplayModefor consistency. - Deprecated
CustomQuantityDisplayModein favour of concrete implementations ofQuantityDisplayMode.
0.3.0 #
- Added method
bytestoUnitfor more natural comparisons.
0.2.0 #
- Renamed base method from
fileSizeToStringtohumanFileSize(). - Added extension method
humanFileSizeonnum.
0.1.2 #
- Fixed pub.dev score.
0.1.1 #
- Fixed pub.dev score.
0.1.0 #
- Initial version.