setState method

void setState(
  1. void updater()
)

Implementation

void setState(void Function() updater) {
  updater();
  render();
}