movechecker method

dynamic movechecker(
  1. int item
)

Implementation

movechecker(int item) {
  if (widget.imageSelected.length > item) {
    index = item;
    imageModulModel = widget.imageSelected[item];

    print("item item ${item} movee");
    if (widget.imageSelected[item].file != null) {
      fileSelected = widget.imageSelected[item].file!;
      checkrotation();
      setState(() {});
    }
  }
}