openImagePicker method

void openImagePicker({
  1. DurationConstraint duration = const DurationConstraint(max: Duration(minutes: 1)),
  2. List<AssetEntity> selectedAssets = const [],
  3. int imageCount = 5,
  4. bool onlyPhotos = false,
  5. bool? overrideLock,
})

Implementation

void openImagePicker({

  DurationConstraint duration = const DurationConstraint(max: Duration(minutes: 1)),

  List<AssetEntity> selectedAssets = const [],

  int imageCount = 5,

  bool onlyPhotos = false,

  bool? overrideLock

}) => _state!.openImagePicker(selectedAssets, duration, imageCount, onlyPhotos, overrideLock);