storage constant
Permission
const storage
Permission for accessing external storage.
Depending on the platform and version, the requirements are slightly different:
Android:
- On Android 13 (API 33) and above, this permission is deprecated and
always returns
PermissionStatus.denied. Instead usePermission.photos,Permission.video,Permission.audioorPermission.manageExternalStorage. For more information see our FAQ. - Below Android 13 (API 33), the
READ_EXTERNAL_STORAGEandWRITE_EXTERNAL_STORAGEpermissions are requested (depending on the definitions in the AndroidManifest.xml) file.
iOS:
- Access to folders like
DocumentsorDownloads. Implicitly granted.
Implementation
static const storage = Permission._(15);