Skip to main content

setState method

void setState (ViewState viewState)

Implementation

void setState(ViewState viewState) \{
_state = viewState;
notifyListeners();
\}