setState method

void setState(
  1. VoidCallback fn
)

Provide the setState() function to external actors

Implementation

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