switchPickerMode method

void switchPickerMode(
  1. bool value
)

Implementation

void switchPickerMode(bool value) {
  if (!value) {
    _selectedFiles.clear();
    updatePickerListener();
  }
  _pickerMode = value;
  update();
}