copyWith method
- @useResult
- BoxDecoration? decoration,
- FCardContentStyle? contentStyle,
inherited
Returns a copy of this FCardStyle 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
FCardStyle copyWith({BoxDecoration? decoration, FCardContentStyle? contentStyle}) =>
FCardStyle(decoration: decoration ?? this.decoration, contentStyle: contentStyle ?? this.contentStyle);