setState method

void setState(
  1. void callback()
)

Notifies the listeners.

Implementation

void setState(final void Function() callback) {
  callback();
  if (_isActive) _updateController.add(null);
}