disk_space_2 1.0.7 disk_space_2: ^1.0.7 copied to clipboard
A Flutter package that provides an easy way to get disk space information on Android and iOS devices.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add disk_space_2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
disk_space_2: ^1.0.7
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:disk_space_2/disk_space_2.dart';