copyWith method

  1. @useResult
FSelectSearchStyle copyWith({
  1. FTextFieldStyleDelta? fieldStyle,
  2. FDividerStyleDelta? dividerStyle,
  3. FCircularProgressStyleDelta? progressStyle,
})

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

See customizing widget styles.

Parameters

Implementation

@useResult
FSelectSearchStyle copyWith({
  FTextFieldStyleDelta? fieldStyle,
  FDividerStyleDelta? dividerStyle,
  FCircularProgressStyleDelta? progressStyle,
}) => .new(
  fieldStyle: fieldStyle?.call(this.fieldStyle) ?? this.fieldStyle,
  dividerStyle: dividerStyle?.call(this.dividerStyle) ?? this.dividerStyle,
  progressStyle: progressStyle?.call(this.progressStyle) ?? this.progressStyle,
);