ExpanderState class

A simple state class that represents the current expanded state of an Expander.

This state is provided to child components through the Pylon mechanism, allowing them to react to expansion state changes.

See also:

  • doc/component/expander.md for more detailed documentation
  • Expander, which uses this state class

Constructors

ExpanderState.new(bool expanded)
Creates an ExpanderState with the specified expanded value.

Properties

expanded bool
Whether the Expander is currently expanded.
final
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