setState method

void setState(
  1. VoidCallback fn
)

Refresh the root State object with the passed function.

Implementation

void setState(VoidCallback fn) => appState?.setState(fn);