Search packages, repositories and app categories

Package detailsv0.2.6

disk_space_plus

A tiny Flutter Plugin to show free and total disk space.

AndroidiOS
30-day downloads
59K
Likes
15
Pub points
135

Install package

flutter pub add disk_space_plus

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

disk_space_plus is a lightweight Flutter plugin that provides easy access to device disk space information, including total and free storage. It works seamlessly on both Android and iOS platforms, offering developers a simple API to retrieve disk usage data. Ideal for apps needing to monitor storage capacity, such as file managers or backup tools, it helps ensure users are aware of available space before performing large operations. The plugin is minimal in size and dependency, making it efficient for integration into existing projects.

Use cases

  • Monitoring available storage
  • File manager applications
  • Backup and sync tools
  • App health checks
  • Storage-aware features
  • User notifications for low storage

Key features

  • Simple API for disk space
  • Supports Android and iOS
  • Returns total and free space
  • Lightweight and fast
  • No additional dependencies
  • Cross-platform compatibility

Suitable for

  • Developers building file management apps
  • Apps requiring storage awareness
  • Tools monitoring device health
  • Minimalist plugins with focused functionality
  • Projects needing basic disk info

Considerations

  • Limited to disk space only (no file system traversal)
  • Does not support web platform
  • Permissions may be required on some Android versions
  • Results depend on device-specific implementation
  • Not suitable for detailed file system analysis

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

disk_space_plus

disk_space_plus version Pub Points Pub Popularity Pub Likes

Get the information about free and total disk space for you device.


Important change in 0.2.5 You need to initialize disk_space_plus now e.g

    DiskSpacePlus diskSpacePlus = DiskSpacePlus();
    await diskSpacePlus.getFreeDiskSpace ?? 0;

instead of

await DiskSpacePlus.getFreeDiskSpace;

Categories

Dependencies

Dependency list 1 items

  • plugin_platform_interface^2.0.2

Source repository

Projects using this package

No data available yet.