copyWith method

  1. @useResult
FAutocompleteContentStyle copyWith({
  1. TextStyle? emptyTextStyle,
  2. EdgeInsetsGeometry? padding,
  3. FCircularProgressStyle progressStyle(
    1. FCircularProgressStyle style
    )?,
  4. FAutocompleteSectionStyle sectionStyle(
    1. FAutocompleteSectionStyle style
    )?,
})

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,
}) => FAutocompleteContentStyle(
  emptyTextStyle: emptyTextStyle ?? this.emptyTextStyle,
  padding: padding ?? this.padding,
  progressStyle: progressStyle != null ? progressStyle(this.progressStyle) : this.progressStyle,
  sectionStyle: sectionStyle != null ? sectionStyle(this.sectionStyle) : this.sectionStyle,
);