setState method

void setState(
  1. VoidCallback fn
)

Rebuilds the currently visible ScreenLayout.

Has no effect if no ScreenLayout is currently mounted.

Implementation

void setState(VoidCallback fn) => _setState?.call(fn);