State<T>
Once the state is created, a call to InitState will be made immediately before the first Build call.
The state maintains a list of managed disposables that will be disposed when the state is disposed and also provides a Dispose callback method.
Signal values can be directly accessed from within the state's Build methods and dependencies will be automatically tracked by the SignalDependencyTracker.
Once any dependency changes or SetState gets called, a ModificationBarrier.Rebuild will be scheduled. Once the Reconciler rebuilds the object, CanReconcile will be called to determine if the state can be reused with the new widget configuration. If it returns true, DidUpdateWidget will be called to notify the state of the new widget configuration before the Build method is called again.
TFields
context passed into the Build method.Methods
Parameters
Build Context - The context in which to build the widget. This will be provided by
the framework when building the widget tree.Inherited Members
Extension Methods
To Diagnostics Node SafeDescribe IdentityShort HashTo String Nullable