copyWith method

  1. @useResult
FMultiSelectStyle copyWith({
  1. FMultiSelectFieldStyleDelta? fieldStyle,
  2. FMultiSelectTagStyleDelta? tagStyle,
  3. FSelectSearchStyleDelta? searchStyle,
  4. FSelectContentStyleDelta? contentStyle,
  5. TextStyleDelta? emptyTextStyle,
})

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

See customizing widget styles.

Parameters

Implementation

@useResult
FMultiSelectStyle copyWith({
  FMultiSelectFieldStyleDelta? fieldStyle,
  FMultiSelectTagStyleDelta? tagStyle,
  FSelectSearchStyleDelta? searchStyle,
  FSelectContentStyleDelta? contentStyle,
  TextStyleDelta? emptyTextStyle,
}) => .new(
  fieldStyle: fieldStyle?.call(this.fieldStyle) ?? this.fieldStyle,
  tagStyle: tagStyle?.call(this.tagStyle) ?? this.tagStyle,
  searchStyle: searchStyle?.call(this.searchStyle) ?? this.searchStyle,
  contentStyle: contentStyle?.call(this.contentStyle) ?? this.contentStyle,
  emptyTextStyle: emptyTextStyle?.call(this.emptyTextStyle) ?? this.emptyTextStyle,
);