copyWith method

  1. @useResult
FAutocompleteContentStyle copyWith({
  1. TextStyle? emptyTextStyle,
  2. EdgeInsetsGeometry? padding,
  3. FCircularProgressStyle progressStyle(
    1. FCircularProgressStyle style
    )?,
  4. FAutocompleteSectionStyle sectionStyle(
    1. FAutocompleteSectionStyle style
    )?,
  5. BoxDecoration? decoration,
  6. ImageFilter barrierFilter(
    1. double
    )?,
  7. ImageFilter backgroundFilter(
    1. double
    )?,
  8. EdgeInsetsGeometry? viewInsets,
})

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

Consider using the CLI to generate a style.

Parameters

Implementation

@useResult
FAutocompleteContentStyle copyWith({
  TextStyle? emptyTextStyle,
  EdgeInsetsGeometry? padding,
  FCircularProgressStyle Function(FCircularProgressStyle style)? progressStyle,
  FAutocompleteSectionStyle Function(FAutocompleteSectionStyle style)? sectionStyle,
  BoxDecoration? decoration,
  ImageFilter Function(double)? barrierFilter,
  ImageFilter Function(double)? backgroundFilter,
  EdgeInsetsGeometry? viewInsets,
}) => .new(
  emptyTextStyle: emptyTextStyle ?? this.emptyTextStyle,
  padding: padding ?? this.padding,
  progressStyle: progressStyle != null ? progressStyle(this.progressStyle) : this.progressStyle,
  sectionStyle: sectionStyle != null ? sectionStyle(this.sectionStyle) : this.sectionStyle,
  decoration: decoration ?? this.decoration,
  barrierFilter: barrierFilter ?? this.barrierFilter,
  backgroundFilter: backgroundFilter ?? this.backgroundFilter,
  viewInsets: viewInsets ?? this.viewInsets,
);