setState method

  1. @override
void setState(
  1. VoidCallback fn
)
inherited

Calls the State object's setState() function if not (see class SetState).

Implementation

@override
void setState(VoidCallback fn) {
  // Don't if already in the SetState.builder() function
  if (!_inSetStateBuilder) {
    super.setState(fn);
  }
}