MExpandableThemeData class
Constructors
- MExpandableThemeData({Color? iconColor, bool? useInkWell, Duration? animationDuration, Duration? scrollAnimationDuration, double? crossFadePoint, Curve? fadeCurve, Curve? sizeCurve, AlignmentGeometry? alignment, MExpandablePanelHeaderAlignment? headerAlignment, MExpandablePanelBodyAlignment? bodyAlignment, MExpandablePanelIconPlacement? iconPlacement, bool? tapHeaderToExpand, bool? tapBodyToExpand, bool? tapBodyToCollapse, bool? hasIcon, double? iconSize, EdgeInsets? iconPadding, double? iconRotationAngle, IconData? expandIcon, IconData? collapseIcon, BorderRadius? inkWellBorderRadius, MExpandableTransition? transition, Clip? clipBehavior, Curve? opacityCurve})
-
const
Properties
- alignment → AlignmentGeometry?
-
The alignment of widgets during animation between expanded and collapsed states.
final
- animationDuration → Duration?
-
final
- bodyAlignment → MExpandablePanelBodyAlignment?
-
final
- clipBehavior → Clip?
-
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
, theexpandIcon
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
andexpanded
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 MExpandablePanel.
final
- headerAlignment → MExpandablePanelHeaderAlignment?
-
final
- iconColor → Color?
-
final
- iconPadding → EdgeInsets?
-
Expand icon padding.
final
- iconPlacement → MExpandablePanelIconPlacement?
-
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 truefinal - opacityCurve → Curve?
-
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 MExpandablePanel can be clicked by the user to collapse.
final
- tapBodyToExpand → bool?
-
If true, the body of MExpandablePanel can be clicked by the user to expand.
final
- tapHeaderToExpand → bool?
-
If true, the header of MExpandablePanel can be clicked by the user to expand or collapse.
final
- transition → MExpandableTransition?
-
final
- useInkWell → bool?
-
final
Methods
-
copyWith(
{Color? iconColor, bool? useInkWell, Duration? animationDuration, Duration? scrollAnimationDuration, double? crossFadePoint, AlignmentGeometry? alignment, Curve? fadeCurve, Curve? sizeCurve, MExpandablePanelHeaderAlignment? headerAlignment, MExpandablePanelBodyAlignment? bodyAlignment, MExpandablePanelIconPlacement? iconPlacement, bool? tapHeaderToExpand, bool? tapBodyToExpand, bool? tapBodyToCollapse, bool? hasIcon, double? iconSize, EdgeInsets? iconPadding, double? iconRotationAngle, IconData? expandIcon, IconData? collapseIcon, BorderRadius? inkWellBorderRadius, MExpandableTransition? transition, Clip? clipBehavior, Curve? opacityCurve}) → MExpandableThemeData -
isEmpty(
) → bool -
isFull(
) → bool -
merge(
MExpandableThemeData? other) → MExpandableThemeData -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
nullIfEmpty(
) → MExpandableThemeData? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
combine(
MExpandableThemeData? theme, MExpandableThemeData? defaults) → MExpandableThemeData -
of(
BuildContext context, {bool rebuildOnChange = true}) → MExpandableThemeData -
withDefaults(
MExpandableThemeData? theme, BuildContext context, {bool rebuildOnChange = true}) → MExpandableThemeData
Constants
- defaults → const MExpandableThemeData
- empty → const MExpandableThemeData