copyWith method
- @useResult
- TextStyle? titleTextStyle,
- FHeaderActionStyle? actionStyle,
- double? actionSpacing,
- EdgeInsets? padding,
Returns a copy of this FNestedHeaderStyle with the given properties replaced.
Implementation
@useResult
FNestedHeaderStyle copyWith({
TextStyle? titleTextStyle,
FHeaderActionStyle? actionStyle,
double? actionSpacing,
EdgeInsets? padding,
}) =>
FNestedHeaderStyle(
titleTextStyle: titleTextStyle ?? this.titleTextStyle,
actionStyle: actionStyle ?? this.actionStyle,
actionSpacing: actionSpacing ?? this.actionSpacing,
padding: padding ?? this.padding,
);