State
Functions
We consider two state objects equal if they 1) belong to the same Tree, 2) have the same HookGlobalKey, and 3) have the same value (according to its own .equals check)
Updates this state value and enqueues a new layout calculation reflecting it to execute in the background.
Uses newValueFunction to update this state value using the previous state value, and enqueues a new layout calculation reflecting it to execute in the background.
Updates this state value and enqueues a new layout calculation reflecting it to execute on the current thread. If called on the main thread, this means that the UI will be updated for the current frame.
Uses newValueFunction to update this state value using the previous state value, and enqueues a new layout calculation reflecting it to execute on the current thread.