copyWith method

  1. @useResult
FTileContentStateStyle copyWith({
  1. FIconStyle? prefixIconStyle,
  2. TextStyle? titleTextStyle,
  3. TextStyle? subtitleTextStyle,
  4. TextStyle? detailsTextStyle,
  5. FIconStyle? suffixIconStyle,
})

Returns a FTileContentStateStyle with the given properties replaced.

Implementation

@useResult
FTileContentStateStyle copyWith({
  FIconStyle? prefixIconStyle,
  TextStyle? titleTextStyle,
  TextStyle? subtitleTextStyle,
  TextStyle? detailsTextStyle,
  FIconStyle? suffixIconStyle,
}) =>
    FTileContentStateStyle(
      prefixIconStyle: prefixIconStyle ?? this.prefixIconStyle,
      titleTextStyle: titleTextStyle ?? this.titleTextStyle,
      subtitleTextStyle: subtitleTextStyle ?? this.subtitleTextStyle,
      detailsTextStyle: detailsTextStyle ?? this.detailsTextStyle,
      suffixIconStyle: suffixIconStyle ?? this.suffixIconStyle,
    );