onYesNoChange method

void onYesNoChange({
  1. required bool newVal,
})

Implementation

void onYesNoChange({required bool newVal}) {
  setState(() {
    _result = newVal;
  });

  widget.onSettingDataRowChange(_result);
}