copyWith method

  1. @useResult
FRawItemContentStyle copyWith({
  1. EdgeInsetsGeometry? padding,
  2. FWidgetStateMap<IconThemeData>? prefixIconStyle,
  3. double? prefixIconSpacing,
  4. FWidgetStateMap<TextStyle>? childTextStyle,
})

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

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FRawItemContentStyle copyWith({
  EdgeInsetsGeometry? padding,
  FWidgetStateMap<IconThemeData>? prefixIconStyle,
  double? prefixIconSpacing,
  FWidgetStateMap<TextStyle>? childTextStyle,
}) => FRawItemContentStyle(
  padding: padding ?? this.padding,
  prefixIconStyle: prefixIconStyle ?? this.prefixIconStyle,
  prefixIconSpacing: prefixIconSpacing ?? this.prefixIconSpacing,
  childTextStyle: childTextStyle ?? this.childTextStyle,
);