PackageTrack
Sign in Get early access

saf_util

Util functions for SAF (Storage Access Framework).

3.1.0 16K downloads/mo #2403 most downloaded on pub.dev flutter-cavalry/saf_util

What this package is like to depend on

Last release 2 months ago

30 May 2026

Release timing varies

gaps range from 8 days to 8 months

Most releases are documented

notes for 21 of 25 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

25 releases · first in 2024

7 releases in the last 12 months

see the full history below

Release timeline

25 releases · Oct 2024 to May 2026
2025 2026
Release Pre-release

Releases

latest 25
  1. 3.1.0 30 May 2026
    Release notes
    • Set length to -1 when the length is unknown, which is consistent with the behavior of DocumentFile.length() in Android.
    Open source →
  2. 3.0.0 30 May 2026
    Release notes
    • Breaking: Migrate to AGP 9
    • Breaking: Min Flutter version: 3.44.0
    Open source →
  3. 2.2.0 21 May 2026
    Release notes
    • Add pickMedia.
    Open source →
  4. 2.1.0 17 Apr 2026
    Release notes
    • Add throws parameter to stat to control whether to throw an exception when the URI does not exist or is inaccessible.
    Open source →
  5. 2.0.0 19 Mar 2026
    Release notes
    • Update to Kotlin 2.2.0
    Open source →
  6. 1.0.0 19 Mar 2026
    Release notes
    • No changes. This is just a version bump to mark the stable release.
    Open source →
  7. 0.12.0 17 Mar 2026
    Release notes
    • Add releasePersistedPermission to release the persisted permission of a URI.
    Open source →
  8. 0.11.0 14 Jul 2025
    Release notes
    • Allow empty names in .child, which returns a [DocumentFile] from the first path param (like stat).
    Open source →
  9. 0.10.0 21 May 2025
    Release notes
    • Add stat. Unlike [documentFileFromUri], stat returns null if uri does not exist.
    Open source →
  10. 0.9.0 21 May 2025
    Release notes
    • Auto detect path type when documentFileFromUri.isDir is null.
    Open source →
  11. 0.8.0 15 May 2025
    Release notes
    • Add hasPersistedPermission.
    Open source →
  12. 0.7.0 01 Mar 2025
    Release notes
    • Add file descriptor support.
    Open source →
  13. 0.6.2 13 Jan 2025
    Release notes
    • Fix length overflow.
    Open source →
  14. 0.6.1 30 Nov 2024
    Release notes
    • Update docs.
    Open source →
  15. 0.6.0 30 Nov 2024
    Release notes
    • Add pickFiles and pickDirectory to replace openFile and openDirectory. The new methods return [DocumentFile] instead of Uri string.
    Open source →
  16. 0.5.0 29 Nov 2024
    Release notes
    • Add openFile and openFiles to open file picker dialog.
    • Make sure read permission is always set when write permission is on.
    Open source →
  17. 0.4.0 13 Oct 2024
    Release notes
    • Relax minimum Dart and Flutter versions (Fixes #2).
    Open source →
  18. 0.3.0 12 Oct 2024
    Release notes
    • saveThumbnailToFile width and height params should be int.
    Open source →
  19. 0.2.0 12 Oct 2024
    Release notes
    • Add saveThumbnailToFile, which supports extracting image and video thumbnails from an SAF [DocumentFile].
    Open source →
  20. 0.1.2 10 Oct 2024

    Nothing published for this version

  21. 0.1.1 07 Oct 2024

    Nothing published for this version

  22. 0.1.0 07 Oct 2024
    Release notes
    • Add writePermission and persistablePermission to openDirectory
    • Support renaming on file DocumentFile
    Open source →
  23. 0.0.3 07 Oct 2024

    Nothing published for this version

  24. 0.0.2 07 Oct 2024

    Nothing published for this version

  25. 0.0.1 07 Oct 2024
    Release notes
    • Initial release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive