setState static method

dynamic setState(
  1. String state,
  2. dynamic setState()
)

Set the state of the page

Implementation

static setState(String state, Function() setState) {
  _updateState(state, "set-state", {"setState": setState});
}