copyWith method

  1. @useResult
FTileContentStyle copyWith({
  1. EdgeInsetsGeometry? padding,
  2. FWidgetStateMap<IconThemeData>? prefixIconStyle,
  3. double? prefixIconSpacing,
  4. FWidgetStateMap<TextStyle>? titleTextStyle,
  5. double? titleSpacing,
  6. FWidgetStateMap<TextStyle>? subtitleTextStyle,
  7. double? middleSpacing,
  8. FWidgetStateMap<TextStyle>? detailsTextStyle,
  9. FWidgetStateMap<IconThemeData>? suffixIconStyle,
  10. double? suffixIconSpacing,
})
inherited

Returns a copy of this FTileContentStyle 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
FTileContentStyle copyWith({
  EdgeInsetsGeometry? padding,
  FWidgetStateMap<IconThemeData>? prefixIconStyle,
  double? prefixIconSpacing,
  FWidgetStateMap<TextStyle>? titleTextStyle,
  double? titleSpacing,
  FWidgetStateMap<TextStyle>? subtitleTextStyle,
  double? middleSpacing,
  FWidgetStateMap<TextStyle>? detailsTextStyle,
  FWidgetStateMap<IconThemeData>? suffixIconStyle,
  double? suffixIconSpacing,
}) => FTileContentStyle(
  padding: padding ?? this.padding,
  prefixIconStyle: prefixIconStyle ?? this.prefixIconStyle,
  prefixIconSpacing: prefixIconSpacing ?? this.prefixIconSpacing,
  titleTextStyle: titleTextStyle ?? this.titleTextStyle,
  titleSpacing: titleSpacing ?? this.titleSpacing,
  subtitleTextStyle: subtitleTextStyle ?? this.subtitleTextStyle,
  middleSpacing: middleSpacing ?? this.middleSpacing,
  detailsTextStyle: detailsTextStyle ?? this.detailsTextStyle,
  suffixIconStyle: suffixIconStyle ?? this.suffixIconStyle,
  suffixIconSpacing: suffixIconSpacing ?? this.suffixIconSpacing,
);