ExpandPanelModel<E> class
- Inheritance
-
- Object
- EnhanceExpansionPanel
- ExpandPanelModel
Constructors
-
ExpandPanelModel({required List<
E> bodyChildren, required Widget bodyItemBuilder(BuildContext context, E e), dynamic headerBuilder, dynamic isExpanded = false, dynamic canTapOnHeader = true, dynamic backgroundColor, dynamic arrowColor = Colors.black54, dynamic arrowPadding, dynamic arrowPosition = EnhanceExpansionPanelArrowPosition.tailing, dynamic arrowExpanded, dynamic arrow})
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
-
bodyChildren
→ List<
E> -
final
- bodyItemBuilder → Widget Function(BuildContext context, E e)
-
final
- 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
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