copyWith method
- @useResult
- double? imageSpacing,
- double? subtitleSpacing,
- TextStyle? titleTextStyle,
- TextStyle? subtitleTextStyle,
- 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,
);