A material expansion panel. It has a header and a body and can be either expanded or collapsed. The body of the panel is only visible when it is expanded.
Expansion panels are only intended to be used as children for ExpansionPanelList.
See ExpansionPanelList for a sample implementation.
- body → Widget
The body of the expansion panel that's displayed below the header. [...]
- canTapOnHeader → bool
Whether tapping on the panel's header will expand/collapse it. [...]
- headerBuilder → ExpansionPanelHeaderBuilder
The widget builder that builds the expansion panels' header.
- isExpanded → bool
Whether the panel is expanded. [...]
- hashCode → int
The hash code for this object. [...]
- runtimeType → Type
A representation of the runtime type of the object.