ExpandableThemeData class

Constructors

ExpandableThemeData({Color? iconColor, bool? useInkWell, Duration? animationDuration, Duration? scrollAnimationDuration, double? crossFadePoint, Curve? fadeCurve, Curve? sizeCurve, AlignmentGeometry? alignment, ExpandablePanelHeaderAlignment? headerAlignment, ExpandablePanelBodyAlignment? bodyAlignment, ExpandablePanelIconPlacement? iconPlacement, bool? tapHeaderToExpand, bool? tapBodyToExpand, bool? tapBodyToCollapse, bool? hasIcon, double? iconSize, EdgeInsets? iconPadding, double? iconRotationAngle, IconData? expandIcon, IconData? collapseIcon, BorderRadius? inkWellBorderRadius})
const

Properties

alignment AlignmentGeometry?
The alignment of widgets during animation between expanded and collapsed states.
final
animationDuration Duration?
final
bodyAlignment ExpandablePanelBodyAlignment?
final
collapsedFadeEnd double
no setter
collapsedFadeStart double
no setter
collapseIcon IconData?
The icon in the expanded state. If you specify the same icon as expandIcon, the expandIcon icon will be shown upside-down in the expanded state.
final
crossFadePoint double?
The point in the cross-fade animation timeline (from 0 to 1) where the collapsed and expanded widgets are half-visible.
final
expandedFadeEnd double
no setter
expandedFadeStart double
no setter
expandIcon IconData?
The icon in the collapsed state.
final
fadeCurve Curve?
final
hashCode int
The hash code for this object.
no setteroverride
hasIcon bool?
If true, an icon is shown in the header of ExpandablePanel.
final
headerAlignment ExpandablePanelHeaderAlignment?
final
iconColor Color?
final
iconPadding EdgeInsets?
Expand icon padding.
final
iconPlacement ExpandablePanelIconPlacement?
Expand icon placement.
final
iconRotationAngle double?
Icon rotation angle in clockwise radians. For example, specify math.pi to rotate the icon by 180 degrees clockwise when clicking on the expand button.
final
iconSize double?
Expand icon size.
final
inkWellBorderRadius BorderRadius?
The BorderRadius for the InkWell, if inkWell is set to true
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollAnimationDuration Duration?
final
sizeCurve Curve?
final
tapBodyToCollapse bool?
If true, the body of ExpandablePanel can be clicked by the user to collapse.
final
tapBodyToExpand bool?
If true, the body of ExpandablePanel can be clicked by the user to expand.
final
tapHeaderToExpand bool?
If true, the header of ExpandablePanel can be clicked by the user to expand or collapse.
final
useInkWell bool?
final

Methods

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

Operators

operator ==(dynamic o) bool
The equality operator.
override

Static Properties

defaults ExpandableThemeData
final
empty ExpandableThemeData
final

Static Methods

combine(ExpandableThemeData? theme, ExpandableThemeData? defaults) ExpandableThemeData
of(BuildContext context, {bool rebuildOnChange = true}) ExpandableThemeData
withDefaults(ExpandableThemeData? theme, BuildContext context, {bool rebuildOnChange = true}) ExpandableThemeData