EnhanceExpansionPanelRadio class

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

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

See EnhanceExpansionPanelList.radio for a sample implementation.

Inheritance

Constructors

EnhanceExpansionPanelRadio({required Object value, required ExpansionPanelHeaderBuilder headerBuilder, required Widget body, bool canTapOnHeader = false, Color? backgroundColor})
An expansion panel that allows for radio functionality.

Properties

arrow Widget?
finalinherited
arrowColor Color?
finalinherited
arrowExpanded Widget?
finalinherited
arrowPadding EdgeInsetsGeometry?
finalinherited
arrowPosition EnhanceExpansionPanelArrowPosition
finalinherited
backgroundColor Color?
Defines the background color of the panel.
finalinherited
body Widget
The body of the expansion panel that's displayed below the header.
finalinherited
canTapOnHeader bool
Whether tapping on the panel's header will expand/collapse it.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
headerBuilder ExpansionPanelHeaderBuilder
The widget builder that builds the expansion panels' header.
finalinherited
isExpanded bool
Whether the panel is expanded.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Object
The value that uniquely identifies a radio panel so that the currently selected radio panel can be identified.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited