You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initial state is Loading then after two seconds Data: 0 is displayed. Which is expected. But, if the "increment" button is hit, the widget is rebuilt, but computed function is never called again, thus the result is still Data: 0.
The expected behavior, would be the once signal.value is updated through _increment, the state changes to Reloading: 0, then after two seconds, the state becomes Data: 1.
The text was updated successfully, but these errors were encountered:
Example
Behavior
The initial state is
Loading
then after two secondsData: 0
is displayed. Which is expected. But, if the "increment" button is hit, the widget is rebuilt, but computed function is never called again, thus the result is stillData: 0
.The expected behavior, would be the once
signal.value
is updated through_increment
, the state changes toReloading: 0
, then after two seconds, the state becomesData: 1
.The text was updated successfully, but these errors were encountered: