copyWith method
- @useResult
- TextStyle? titleTextStyle,
- TextStyle? childTextStyle,
- EdgeInsets? titlePadding,
- EdgeInsets? childPadding,
- Color? iconColor,
- double? iconSize,
- FDividerStyle? dividerStyle,
- Duration? animationDuration,
Returns a copy of this FAccordionStyle with the given properties replaced.
Implementation
@useResult
FAccordionStyle copyWith({
TextStyle? titleTextStyle,
TextStyle? childTextStyle,
EdgeInsets? titlePadding,
EdgeInsets? childPadding,
Color? iconColor,
double? iconSize,
FDividerStyle? dividerStyle,
Duration? animationDuration,
}) =>
FAccordionStyle(
titleTextStyle: titleTextStyle ?? this.titleTextStyle,
childTextStyle: childTextStyle ?? this.childTextStyle,
titlePadding: titlePadding ?? this.titlePadding,
childPadding: childPadding ?? this.childPadding,
iconColor: iconColor ?? this.iconColor,
iconSize: iconSize ?? this.iconSize,
dividerStyle: dividerStyle ?? this.dividerStyle,
animationDuration: animationDuration ?? this.animationDuration,
);