sized_file 0.0.2 copy "sized_file: ^0.0.2" to clipboard
sized_file: ^0.0.2 copied to clipboard

discontinuedreplaced by: file_sized

A lightweight Dart package for handling file size conversions and formatting. Convert between bytes, KB, MB, GB, and TB with easy-to-use utilities.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add sized_file

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  sized_file: ^0.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:sized_file/sized_file.dart';
7
likes
145
points
6
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Dart package for handling file size conversions and formatting. Convert between bytes, KB, MB, GB, and TB with easy-to-use utilities.

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on sized_file