copyWith method

  1. @useResult
FHeaderStyle copyWith({
  1. SystemUiOverlayStyle? systemOverlayStyle,
  2. BoxDecoration? decoration,
  3. ImageFilter? backgroundFilter,
  4. EdgeInsetsGeometry? padding,
  5. double? actionSpacing,
  6. TextStyle? titleTextStyle,
  7. FHeaderActionStyle actionStyle(
    1. FHeaderActionStyle style
    )?,
})

Returns a copy of this FHeaderStyle with the given properties replaced.

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FHeaderStyle copyWith({
  SystemUiOverlayStyle? systemOverlayStyle,
  BoxDecoration? decoration,
  ImageFilter? backgroundFilter,
  EdgeInsetsGeometry? padding,
  double? actionSpacing,
  TextStyle? titleTextStyle,
  FHeaderActionStyle Function(FHeaderActionStyle style)? actionStyle,
}) => FHeaderStyle(
  systemOverlayStyle: systemOverlayStyle ?? this.systemOverlayStyle,
  decoration: decoration ?? this.decoration,
  backgroundFilter: backgroundFilter ?? this.backgroundFilter,
  padding: padding ?? this.padding,
  actionSpacing: actionSpacing ?? this.actionSpacing,
  titleTextStyle: titleTextStyle ?? this.titleTextStyle,
  actionStyle: actionStyle != null ? actionStyle(this.actionStyle) : this.actionStyle,
);