human_file_size 0.7.0
human_file_size: ^0.7.0 copied to clipboard
A robust, customisable package to get a human representation of the size of your files.
0.7.0 #
- Added
PrettyQuantityDisplayMode. (@akiller) - Added
unitMagnitudetoBinaryNumeralSystemandDecimalNumeralSystem. (@akiller)
0.6.1 #
- Added
collectionas a dev dependency. (@vxern) - Improved test suite by simplifying tests and adding more test cases. (@vxern)
0.6.0 #
- Split up the previously monolithic files into a file per class. (@vxern)
- Split up test files to match the layout of the codebase. (@vxern)
- Moved defaults into a new file
defaults.dart. (@vxern) - Renamed: (@vxern)
BinarySystem->BinaryNumeralSystemDecimalSystem->DecimalNumeralSystemBestFitConversion->BestFitUnitConversionLongLowercaseStyle->LongLowercaseUnitStyleLongUppercaseStyle->LongUppercaseUnitStyleShortLowercaseStyle->ShortLowercaseUnitStyleShortUppercaseStyle->ShortUppercaseUnitStyle
- Added namespaced, enum-like constructors: (@vxern)
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. (@vxern)
0.5.0 #
- Added
OutputFormatterto format the produced output. (@vxern)
0.4.0 #
- Added
intlas a dependency. (@vxern) - Added
IntlQuantityDisplayMode. (@vxern) - Renamed
SimpleDisplayModetoSimpleQuantityDisplayModefor consistency. (@vxern) - Deprecated
CustomQuantityDisplayModein favour of concrete implementations ofQuantityDisplayMode. (@vxern)
0.3.0 #
- Added method
bytestoUnitfor more natural comparisons. (@vxern)
0.2.0 #
- Renamed base method from
fileSizeToStringtohumanFileSize(). (@vxern) - Added extension method
humanFileSizeonnum. (@vxern)
0.1.2 #
- Fixed pub.dev score. (@vxern)
0.1.1 #
- Fixed pub.dev score. (@vxern)
0.1.0 #
- Initial version. (@vxern)