copyWith method
- @useResult
- 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,
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,
);