openGallery method
void
openGallery(
- void onChanged(
- MediaEntity entity,
- bool removed
- void onSubmitted(
- List<
MediaEntity> entities
- List<
- List<
MediaEntity> ? selectedEntities, - BuildContext context,
Implementation
void openGallery(
void Function(MediaEntity entity, bool removed)? onChanged,
final void Function(List<MediaEntity> entities)? onSubmitted,
List<MediaEntity>? selectedEntities,
BuildContext context,
) {
_onChanged = onChanged;
_onSubmitted = onSubmitted;
pick(context, selectedEntities: selectedEntities);
}