flutter_storage_info 1.0.1
flutter_storage_info: ^1.0.1 copied to clipboard
Flutter plugin for retrieving storage information. Easily get details on device storage usage. Reliable and efficient.
1.0.1 - 2026-01-08 #
Fixed
- Documentation: Resized screenshot in
README.mdfor better presentation.
1.0.0 - 2026-01-08 #
Changed
- Branding: Refactored package name and Android namespace to
com.jaberio.flutter_storage_info. - Standardization: Cleaned repository of build artifacts and IDE files.
- Code Quality: Applied
dart format, resolved all linter warnings usingflutter_lints, and addedanalysis_options.yaml. - Android: Improved safety checks for external storage detection.
Added
- Tests: Introduced a unit test suite for the plugin.
Initial Release (Version 0.0.1) #
- Methods:
- Internal Storage:
getFreeDiskSpace: Returns the amount of free space available on the device's internal storage.getTotalDiskSpace: Returns the total amount of space available on the device's internal storage.getUsedDiskSpace: Returns the amount of used space on the device's internal storage.getFreeDiskSpaceInGB: Returns the amount of free space available on the device's internal storage in gigabytes.getTotalDiskSpaceInGB: Returns the total amount of space available on the device's internal storage in gigabytes.getUsedDiskSpaceInGB: Returns the amount of used space on the device's internal storage in gigabytes.getFreeDiskSpaceInMB: Returns the amount of free space available on the device's internal storage in megabytes.getTotalDiskSpaceInMB: Returns the total amount of space available on the device's internal storage in megabytes.getUsedDiskSpaceInMB: Returns the amount of used space on the device's internal storage in megabytes.
- External Storage:
getFreeExternalDiskSpace: Returns the amount of free space available on the device's external storage.getTotalExternalDiskSpace: Returns the total amount of space available on the device's external storage.getUsedExternalDiskSpace: Returns the amount of used space on the device's external storage.getFreeExternalDiskSpaceInGB: Returns the amount of free space available on the device's external storage in gigabytes.getTotalExternalDiskSpaceInGB: Returns the total amount of space available on the device's external storage in gigabytes.getUsedExternalDiskSpaceInGB: Returns the amount of used space on the device's external storage in gigabytes.getFreeExternalDiskSpaceInMB: Returns the amount of free space available on the device's external storage in megabytes.getTotalExternalDiskSpaceInMB: Returns the total amount of space available on the device's external storage in megabytes.getUsedExternalDiskSpaceInMB: Returns the amount of used space on the device's external storage in megabytes.
- Internal Storage:
0.0.6 - 2024-12-15 #
Added
- Methods:
getStorageSpaceInMB: Retrieve storage information in megabytes (MB).getStorageSpaceInGB: Retrieve storage information in gigabytes (GB).getSizeOfDirectoryInMB: Get the size of a specified directory in megabytes (MB).getStorageTypeFromPath: Determine if a given path is internal or external storage.calculateStorageUsage: Calculate the percentage of storage used based on used and total storage.isLowOnStorage: Check if storage usage is below a specific threshold for internal or external storage.
Updated
- Enhanced
README.mdwith detailed usage examples and documentation. - Minor bug fixes and performance improvements.
Issues and Feedback #
Please file issues to send feedback or report a bug. Thank you!