MaterialTreeExpandState class abstract

Represents the state of expansion of an option in a material tree.

If expanded is true, then the option's children will be expanded. The material tree will sync state with options inheriting from MaterialTreeExpandState.

Pre-existing values will be overwritten if MaterialTree.expandAll is set to true.

Constructors

MaterialTreeExpandState()

Properties

expanded bool
Whether this option is expanded (or should be upon becoming visible)
getter/setter pair
expandEvents Stream<bool>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited