super_file_size 1.0.0 copy "super_file_size: ^1.0.0" to clipboard
super_file_size: ^1.0.0 copied to clipboard

A simple and lightweight Dart package that converts raw byte sizes into human-readable strings (e.g., 1536 → 1.50 KB).

super_file_size #

pub package likes popularity pub points

A lightweight and flexible Dart package to convert raw byte values into human-readable file sizes (e.g. 1536 → 1.50 KB).


✨ Features #

  • Supports int, double, and String inputs
  • Handles negative and fractional values
  • Works with binary (1024) and decimal (1000) dividers
  • Customizable rounding precision
  • Supports up to exabytes (EB)
  • Simple, dependency-free, and pure Dart

📦 Installation #

Add this line to your pubspec.yaml:

dependencies:
  super_file_size: ^1.0.0


Inspired by [filesize.js](https://github.com/avoidwork/filesize.js "filesize.js")
1
likes
160
points
130
downloads

Publisher

unverified uploader

Weekly Downloads

A simple and lightweight Dart package that converts raw byte sizes into human-readable strings (e.g., 1536 → 1.50 KB).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on super_file_size