accurate_storage_info 0.1.1 copy "accurate_storage_info: ^0.1.1" to clipboard
accurate_storage_info: ^0.1.1 copied to clipboard

Accurate disk storage info for iOS and Android (bytes)

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add accurate_storage_info

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

dependencies:
  accurate_storage_info: ^0.1.1

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:accurate_storage_info/storage_info.dart';
import 'package:accurate_storage_info/storage_info_method_channel.dart';
import 'package:accurate_storage_info/storage_info_platform_interface.dart';