copyWith method

  1. @useResult
FCardContentStyle copyWith({
  1. TextStyle? titleTextStyle,
  2. TextStyle? subtitleTextStyle,
  3. EdgeInsets? padding,
})

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

Implementation

@useResult
FCardContentStyle copyWith({
  TextStyle? titleTextStyle,
  TextStyle? subtitleTextStyle,
  EdgeInsets? padding,
}) =>
    FCardContentStyle(
      titleTextStyle: titleTextStyle ?? this.titleTextStyle,
      subtitleTextStyle: subtitleTextStyle ?? this.subtitleTextStyle,
      padding: padding ?? this.padding,
    );