copyWith method

  1. @useResult
FSelectSearchStyle copyWith({
  1. FTextFieldStyle textFieldStyle(
    1. FTextFieldStyle style
    )?,
  2. IconThemeData? iconStyle,
  3. FDividerStyle dividerStyle(
    1. FDividerStyle style
    )?,
  4. FCircularProgressStyle progressStyle(
    1. FCircularProgressStyle style
    )?,
})

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

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FSelectSearchStyle copyWith({
  FTextFieldStyle Function(FTextFieldStyle style)? textFieldStyle,
  IconThemeData? iconStyle,
  FDividerStyle Function(FDividerStyle style)? dividerStyle,
  FCircularProgressStyle Function(FCircularProgressStyle style)? progressStyle,
}) => FSelectSearchStyle(
  textFieldStyle: textFieldStyle != null ? textFieldStyle(this.textFieldStyle) : this.textFieldStyle,
  iconStyle: iconStyle ?? this.iconStyle,
  dividerStyle: dividerStyle != null ? dividerStyle(this.dividerStyle) : this.dividerStyle,
  progressStyle: progressStyle != null ? progressStyle(this.progressStyle) : this.progressStyle,
);