Readonly
currentReadonly
currentReadonly
isReadonly
restoredA promise that is resolved when the widget tracker has been restored from a serialized state.
Most client code will not need to use this, since they can wait for the whole application to restore. However, if an extension wants to perform actions during the application restoration, but after the restoration of another widget tracker, they can use this promise.
Readonly
sizeThe number of instances held by the tracker.
Readonly
widgetA signal emitted when a widget is added.
Readonly
widgetA signal emitted when a widget is updated.
Dispose of the resources held by the object.
If the object's dispose
method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
A tracker that tracks widgets.
Typeparam
T - The type of widget being tracked. Defaults to
Widget
.