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

Convert bytes to a human readable string.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pretty_bytes

With Flutter:

 $ flutter pub add pretty_bytes

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

dependencies:
  pretty_bytes: ^6.2.0

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

Import it

Now in your Dart code, you can use:

import 'package:pretty_bytes/pretty_bytes.dart';
3
likes
130
points
948
downloads

Publisher

verified publisherflutter-cavalry.com

Weekly Downloads

Convert bytes to a human readable string.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

intl

More

Packages that depend on pretty_bytes