apiverve_filesizeformatter 1.2.3
apiverve_filesizeformatter: ^1.2.3 copied to clipboard
File Size Formatter converts raw byte counts into human-readable file size strings. Send a byte count with optional precision and unit settings to receive formatted labels, unit names, and scaled nume [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add apiverve_filesizeformatterWith Flutter:
$ flutter pub add apiverve_filesizeformatterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
apiverve_filesizeformatter: ^1.2.3Alternatively, 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:apiverve_filesizeformatter/apiverve_filesizeformatter.dart';