setState method Null safety

void setState(
  1. PueTheme state
)

Implementation

void setState(PueTheme state) {
  gutters = state.gutters;
  // maxWidth = state.maxWidth;
  headerTextStyle = state.headerTextStyle;
  headerSubtextStyle = state.headerSubtextStyle;
  background = state.background;
  notifyListeners();
}