copyWith method

  1. @useResult
FCardStyle copyWith({
  1. BoxDecoration? decoration,
  2. FCardContentStyle? contentStyle,
})

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

Implementation

@useResult
FCardStyle copyWith({
  BoxDecoration? decoration,
  FCardContentStyle? contentStyle,
}) =>
    FCardStyle(
      decoration: decoration ?? this.decoration,
      contentStyle: contentStyle ?? this.contentStyle,
    );