copyWith method

  1. @useResult
FCardContentStyle copyWith({
  1. double? imageSpacing,
  2. double? subtitleSpacing,
  3. TextStyle? titleTextStyle,
  4. TextStyle? subtitleTextStyle,
  5. EdgeInsetsGeometry? padding,
})
inherited

Returns a copy of this FCardContentStyle 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
FCardContentStyle copyWith({
  double? imageSpacing,
  double? subtitleSpacing,
  TextStyle? titleTextStyle,
  TextStyle? subtitleTextStyle,
  EdgeInsetsGeometry? padding,
}) => FCardContentStyle(
  imageSpacing: imageSpacing ?? this.imageSpacing,
  subtitleSpacing: subtitleSpacing ?? this.subtitleSpacing,
  titleTextStyle: titleTextStyle ?? this.titleTextStyle,
  subtitleTextStyle: subtitleTextStyle ?? this.subtitleTextStyle,
  padding: padding ?? this.padding,
);