ExpansionBarState constructor

const ExpansionBarState(
  1. 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);