setCalcYearValue method

void setCalcYearValue({
  1. required int calcYearValue,
})

Implementation

void setCalcYearValue({required int calcYearValue}) {
  yearValue = findValue(list: widget.years, value: calcYearValue);
  yearDropdown.currentState!.setDefaultValue(defaultValue: yearValue);
}