Skip to main content

pretty_bytes 7.0.0 copy "pretty_bytes: ^7.0.0" to clipboard
pretty_bytes: ^7.0.0 copied to clipboard

Convert bytes to a human readable string.

7.0.0 #

  • Breaking: prettyBytes now takes an int instead of a double (file sizes are integers).
  • Fix: binary: false no longer selects the binary (1024) base.
  • Fix: min/max fraction digits no longer crash and apply without a locale.
  • Fix: boundary values no longer produce 1000 TB instead of 1 PB.
  • Fix: invalid (non-finite) inputs are no longer accepted via double.

6.3.0 #

  • Upgrade deps

6.2.0 #

  • Upgrade deps

6.0.1 #

  • Update README.

6.0.0 #

  • Initial version (version is kept the same as original repo).
3
likes
150
points
5.76k
downloads

Documentation

API reference

Publisher

verified publisherflutter-cavalry.com

Weekly Downloads

Convert bytes to a human readable string.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

intl

More

Packages that depend on pretty_bytes