remember Image Picker
fun rememberImagePicker(multipleSelectionEnabled: Boolean, mediaType: ActivityResultContracts.PickVisualMedia.VisualMediaType = ActivityResultContracts.PickVisualMedia.ImageAndVideo): ImagePickerState
Creates a ImagePickerState that can be remembered across compositions.
Return
The ImagePickerState.
Since
1.0.0
Parameters
multiple Selection Enabled
The flag to enable multiple selection.
media Type
The type of media to pick.