desktop_disk_space

Creator: coderz1093

Last updated:

0 purchases

desktop_disk_space Image
desktop_disk_space Images

Languages

Categories

Add to Cart

Description:

desktop disk space

desktop_disk_space #
A Flutter plugin to query the disk space in desktop
Installing #
With Flutter:
$ flutter pub add desktop_disk_space
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
desktop_disk_space: ^0.0.1
copied to clipboard
Note #

This plugin is under development and currently only supports windows.
Support for Linux will be added in the future.
Pull requests are welcome (especially for MacOS support)

Usage #
void test() async {
final currentDriveTotalSpace = await DesktopDiskSpace.instance.getTotalSpace();
final currentDriveFreeSpace = await DesktopDiskSpace.instance.getFreeSpace();
final c_driveTotalSpace = await DesktopDiskSpace.instance.getTotalSpace("C:\\");
final c_driveFreeSpace = await DesktopDiskSpace.instance.getFreeSpace("C:\\");
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.