onSetAdjust method

dynamic onSetAdjust()

Implementation

onSetAdjust() {
  Helper().capture(key1).then((value) {
    if (value != null) {
      widget.imageSelected[index].currentBrightness = _currentBrightness;
      widget.imageSelected[index].currentHue = _currentHue;
      widget.imageSelected[index].currentSaturnation = _currentSaturnation;
      widget.imageSelected[index].file = value;
      fileSelected = value;
      isAdjust = false;
      setState(() {});
    }
  });
}