when to use setstate flutter code example Example: setstate flutter setState(() { _myState = newValue; });