setState method

void setState(
  1. AppBarData state
)

Sets the AppBarData state so that the Pueprint can render and achieve the desired behaviour in the appBar

Implementation

void setState(AppBarData state) {
  appBarOverride = state.appBarOverride;
  onTapLeading = state.onTapLeading;
  icon = state.icon;
  title = state.title;
  actions = state.actions;
  notifyListeners();
}