ExpansionPanelRadio class

An expansion panel that allows for radio-like functionality. This means that at any given time, at most, one ExpansionPanelRadio can remain expanded.

A unique identifier value must be assigned to each panel. This identifier allows the ExpansionPanelList to determine which ExpansionPanelRadio instance should be expanded.

See ExpansionPanelList.radio for a sample implementation.

Inheritance

Constructors

ExpansionPanelRadio({@required Object value, @required ExpansionPanelHeaderBuilder headerBuilder, @required Widget body, bool canTapOnHeader: false })
An expansion panel that allows for radio functionality. [...]

Properties

value Object
The value that uniquely identifies a radio panel so that the currently selected radio panel can be identified.
final
body Widget
The body of the expansion panel that's displayed below the header. [...]
final, inherited
canTapOnHeader bool
Whether tapping on the panel's header will expand/collapse it. [...]
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
headerBuilder ExpansionPanelHeaderBuilder
The widget builder that builds the expansion panels' header.
final, inherited
isExpanded bool
Whether the panel is expanded. [...]
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited