onCancel method

dynamic onCancel()

Implementation

onCancel() {
  isAdjust = false;
  fileSelected = widget.imageSelected[index].file!;
  setState(() {});
}