Skip to content

A Flutter package that provides an easy way to get disk space information on Android devices.

License

Notifications You must be signed in to change notification settings

dominik-masson/storage_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

storage_monitor

A Flutter package that provides an easy way to get disk space information on Android devices.

Description

This package allows you to get the following information about the device's disk space:

  • Available disk space
  • Total disk space

Usage

import 'package:storage_monitor/storage_monitor.dart';

void main() async {
  double? totalDiskSpace = await StorageMonitor.getTotalDiscSpace();
  print('Total disk space: $_totalDiskSpace KB');
  
  double? availableDiskSpace = await StorageMonitor.getAvailableDiscSpace();
  print('Total disk space: $availableDiskSpace KB');
}

License

This project is licensed under the MIT

About

A Flutter package that provides an easy way to get disk space information on Android devices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published