ImagePickerState

class ImagePickerState(val pickedImages: List<File>, val pickImages: () -> Unit, val clearPickedImages: () -> Unit, deniedPermissionState: DeniedPermissionState) : DeniedPermissionState

Represents the state of the image picker. This inherits DeniedPermissionState to handle cases when the permission is denied.

Since

1.0.0

Constructors

Link copied to clipboard
constructor(pickedImages: List<File>, pickImages: () -> Unit, clearPickedImages: () -> Unit, deniedPermissionState: DeniedPermissionState)

Properties

Link copied to clipboard

The handler to clear the picked images.

Link copied to clipboard

The list of picked Files.

Link copied to clipboard
val pickImages: () -> Unit

The handler to launch the Android's image picker.