openGallery method

void openGallery(
  1. void onChanged(
    1. MediaEntity entity,
    2. bool removed
    )?,
  2. void onSubmitted(
    1. List<MediaEntity> entities
    )?,
  3. List<MediaEntity>? selectedEntities,
  4. 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);
}