copyWith method
- @useResult
- EdgeInsets? padding,
- double? prefixIconSpacing,
- double? titleSpacing,
- double? suffixIconSpacing,
- FTileContentStateStyle? enabledStyle,
- FTileContentStateStyle? enabledHoveredStyle,
- FTileContentStateStyle? disabledStyle,
Returns a copy of this FTileContentStyle with the given fields replaced with the new values.
Implementation
@useResult
FTileContentStyle copyWith({
EdgeInsets? padding,
double? prefixIconSpacing,
double? titleSpacing,
double? suffixIconSpacing,
FTileContentStateStyle? enabledStyle,
FTileContentStateStyle? enabledHoveredStyle,
FTileContentStateStyle? disabledStyle,
}) =>
FTileContentStyle(
padding: padding ?? this.padding,
prefixIconSpacing: prefixIconSpacing ?? this.prefixIconSpacing,
titleSpacing: titleSpacing ?? this.titleSpacing,
suffixIconSpacing: suffixIconSpacing ?? this.suffixIconSpacing,
enabledStyle: enabledStyle ?? this.enabledStyle,
enabledHoveredStyle: enabledHoveredStyle ?? this.enabledHoveredStyle,
disabledStyle: disabledStyle ?? this.disabledStyle,
);