copyWith method
- @useResult
- FWidgetStateMap<
TextStyle> ? titleTextStyle, - TextStyle? childTextStyle,
- EdgeInsetsGeometry? titlePadding,
- EdgeInsetsGeometry? childPadding,
- FWidgetStateMap<
IconThemeData> ? iconStyle, - FFocusedOutlineStyle? focusedOutlineStyle,
- FDividerStyle? dividerStyle,
- Duration? animationDuration,
- FTappableStyle? tappableStyle,
inherited
Returns a copy of this FAccordionStyle with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
Implementation
@useResult
FAccordionStyle copyWith({
FWidgetStateMap<TextStyle>? titleTextStyle,
TextStyle? childTextStyle,
EdgeInsetsGeometry? titlePadding,
EdgeInsetsGeometry? childPadding,
FWidgetStateMap<IconThemeData>? iconStyle,
FFocusedOutlineStyle? focusedOutlineStyle,
FDividerStyle? dividerStyle,
Duration? animationDuration,
FTappableStyle? tappableStyle,
}) => FAccordionStyle(
titleTextStyle: titleTextStyle ?? this.titleTextStyle,
childTextStyle: childTextStyle ?? this.childTextStyle,
titlePadding: titlePadding ?? this.titlePadding,
childPadding: childPadding ?? this.childPadding,
iconStyle: iconStyle ?? this.iconStyle,
focusedOutlineStyle: focusedOutlineStyle ?? this.focusedOutlineStyle,
dividerStyle: dividerStyle ?? this.dividerStyle,
animationDuration: animationDuration ?? this.animationDuration,
tappableStyle: tappableStyle ?? this.tappableStyle,
);