copyWith method

  1. @useResult
FCardStyle copyWith({
  1. BoxDecoration? decoration,
  2. 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);