human_file_size 0.4.0 human_file_size: ^0.4.0 copied to clipboard
A robust, customisable package to get a human representation of the size of your files.
0.4.0 #
- Added
intl
as a dependency. - Added
IntlQuantityDisplayMode
. - Renamed
SimpleDisplayMode
toSimpleQuantityDisplayMode
for consistency. - Deprecated
CustomQuantityDisplayMode
in favour of concrete implementations ofQuantityDisplayMode
.
0.3.0 #
- Added method
bytes
toUnit
for more natural comparisons.
0.2.0 #
- Renamed base method from
fileSizeToString
tohumanFileSize()
. - Added extension method
humanFileSize
onnum
.
0.1.2 #
- Fixed pub.dev score.
0.1.1 #
- Fixed pub.dev score.
0.1.0 #
- Initial version.