This constructor is an implementation detail. Do not use this.
Encodes the layout state as JSON. You can use this to visualize all of the components of a layout.
Gets the Blank Space component state at the specified index.
Gets the Detailed Timer component state at the specified index.
Gets the Graph component state at the specified index.
Gets the Key Value component state at the specified index.
Gets the Separator component state at the specified index.
Gets the Splits component state at the specified index.
Gets the Text component state at the specified index.
Gets the Timer component state at the specified index.
Gets the Title component state at the specified index.
Returns a string describing the type of the Component at the specified index.
Disposes the object, allowing it to clean up all of its memory. You need to call this for every object that you don't use anymore and hasn't already been disposed.
Gets the number of Components in the Layout State.
Allows for scoped usage of the object. The object is guaranteed to get disposed once this function returns. You are free to dispose the object early yourself anywhere within the scope. The scope's return value gets carried to the outside of this function.
Creates a new empty Layout State. This is useful for creating an empty layout state that gets updated over time.
Generated using TypeDoc
The state object describes the information to visualize for an entire layout. Use this with care, as invalid usage will result in a panic.
Specifically, you should avoid doing the following: