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