media_store_plus library

Classes

Document
File info from a directory
DocumentTree
From API level 30, app needs to ask for read or write permission for specefic directory. Use MediaStore.requestForAccess method to get read and write access by file picker. It will return DocumentTree if permission is granted
FilePath
MediaStore
To use Android MediaStore API in Flutter. It supports both read & write operation in every android version. It also requests for appropriate permission, if needed.
SaveInfo
Save info while calling saveFile method. It contains saved file name, uri and the saved status, whether the file is created, replaced or duplicated

Enums

DirName
Directory names for directory type. Read more from here: https://developer.android.com/training/data-storage/shared/media#media_store
DirType
Directory Type
SaveStatus
The save status of the file

Functions

checkDirTypeAndName({required DirType dirType, required DirName dirName}) → void
It will check if the DirName is right for the DirType Read more from here: https://developer.android.com/training/data-storage/shared/media#media_store