Skip to content

dab246/super_file_size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A lightweight and flexible Dart package to convert raw byte values into human-readable file sizes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages