copyWith method
- @useResult
- FTextFieldStyleDelta? fieldStyle,
- FDividerStyleDelta? dividerStyle,
- FCircularProgressStyleDelta? progressStyle,
Returns a copy of this FSelectSearchStyle with the given properties replaced.
See customizing widget styles.
Parameters
- FSelectSearchStyle.fieldStyle - The search field's style.
- FSelectSearchStyle.dividerStyle - The style of the divider between the search field and results.
- FSelectSearchStyle.progressStyle - The loading progress's style.
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,
);