ExpansionBarState constructor
const
ExpansionBarState(
- bool expanded
Creates an ExpansionBarState with the specified expanded flag.
This constructor is const for efficient widget rebuilding in stateful contexts like MutablePylon, where expansion toggles trigger UI updates.
Implementation
const ExpansionBarState(this.expanded);