path_manager 0.7.1+1
path_manager: ^0.7.1+1 copied to clipboard
Plugin for getting commonly used locations on host file system via FFI
0.7.x #
- Features:
- Add
getExternalStorageDirectory()for retrieving primary external storage. - Add
getExternalStorageDirectories({StorageDirectory? type})for typed external storage directories. - Add
getExternalCacheDirectories()for external cache directories. - Add
getDownloadsDirectory()for user/app downloads directory. - Add
StorageDirectoryenum for external directory categorization. - Enhance error messages on failure/misconfiguration with detailed resolution and documentation instructions.
- Add
- Breaking Changes:
- Rename
getCachesDirectory()togetApplicationCacheDirectory()for naming consistency with otherPathManagerdirectory getters and Flutter'spath_provider. - Rename
PlatformPathManager.getCachesPath()toPlatformPathManager.getApplicationCachePath().
- Rename
0.6.1 #
- Export
PlatformPathManagerpublicly to enable custom overrides and mocking in tests. - Add comprehensive unit tests and documentation for testing and mocking path resolution.
0.6.0 #
- Rename
getApplicationNoBackupPathtogetApplicationNoBackupDirectory. - Update
getApplicationNoBackupDirectoryto returnFuture<Directory>instead ofFuture<String>for consistency with other directory methods.
0.5.0 #
- initial release