initialState property

InitialPanelState initialState
final

This decides the initial state of the panel.

If this is a two state panel and InitialPanelState.collapsed is given, it will be considered as InitialPanelState.expanded.

NOTE that this value can't be changed once the panel is created.

Default : InitialPanelState.closed

Implementation

final InitialPanelState initialState;