setState method Null safety

void setState(
  1. FooterData state
)

Implementation

void setState(FooterData state) {
  footerOverride = state.footerOverride;
  onTap = state.onTap;
  buttonChild = state.buttonChild;
  activeStep = state.activeStep;
  stepCount = state.stepCount;
  percent = state.percent;
  notifyListeners();
}