copyWith method

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

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

Implementation

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