EnhanceExpansionPanel class
- Implementers
Constructors
- EnhanceExpansionPanel({required ExpansionPanelHeaderBuilder headerBuilder, required Widget body, bool isExpanded = false, bool canTapOnHeader = false, Color? backgroundColor, Color? arrowColor = Colors.black54, EdgeInsetsGeometry? arrowPadding, EnhanceExpansionPanelArrowPosition arrowPosition = EnhanceExpansionPanelArrowPosition.tailing, Widget? arrowExpanded, Widget? arrow})
- Creates an expansion panel to be used as a child for EnhanceExpansionPanelList. See EnhanceExpansionPanelList for an example on how to use this widget.
Properties
- arrow → Widget?
-
final
- arrowColor → Color?
-
final
- arrowExpanded → Widget?
-
final
- arrowPadding → EdgeInsetsGeometry?
-
final
- arrowPosition → EnhanceExpansionPanelArrowPosition
-
final
- backgroundColor → Color?
-
Defines the background color of the panel.
final
- body → Widget
-
The body of the expansion panel that's displayed below the header.
final
- canTapOnHeader → bool
-
Whether tapping on the panel's header will expand/collapse it.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerBuilder → ExpansionPanelHeaderBuilder
-
The widget builder that builds the expansion panels' header.
final
- isExpanded ↔ bool
-
Whether the panel is expanded.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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