selectImage method

void selectImage(
  1. List<ItemModel> list, {
  2. String? title,
})

Implementation

void selectImage(List<ItemModel> list, {String? title}) {
  UtilUI.showOptionDialog(context, MultiLanguage.get(title??'msg_select_image_from'), list, title??'')
      .then((value) {checkPermissions(value);});
  Util.trackActivities(path: 'Add Photo Screen -> Add Photo');
}