setState static method

void setState(
  1. VoidCallback fn
)

Refresh the root State object with the passed function.

Implementation

static void setState(VoidCallback fn) => _appState?.setState(fn);