gotPreview method

dynamic gotPreview(
  1. List<ImageModulModel> imageSelected, {
  2. bool? isGallery,
})

Implementation

gotPreview(List<ImageModulModel> imageSelected, {bool? isGallery}) {
  SellonRouter.push(
      context,
      PreviewImage(
        imageSelected: imageSelected,
        // maxPick: 1,
        direct: widget.direct,
      )).then((value) {
    // if(value != null)
    Navigator.pop(context, value);
  });
}