filesize_plus 1.1.1+1 copy "filesize_plus: ^1.1.1+1" to clipboard
filesize_plus: ^1.1.1+1 copied to clipboard

A package to get humanized file sizes. Translate raw file size into human readable strings. With null safety support!

example/main.dart

import 'package:filesize_plus/filesize_plus.dart';

void main() {
  final fs = filesize(1024);
  print(fs);
  final fs2 = filesize(1024 * 1024);
  print(fs2);
  final fs3 = filesize(1024 * 1024 * 1024);
  print(fs3);
  final fs4 = filesize(1024 * 1024 * 1024 * 1024);
  print(fs4);
}
2
likes
160
points
4
downloads

Publisher

verified publishereduardom.dev

Weekly Downloads

A package to get humanized file sizes. Translate raw file size into human readable strings. With null safety support!

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

More

Packages that depend on filesize_plus