copyWith method

  1. @useResult
FSelectMenuTileStyle copyWith({
  1. FLabelLayoutStyle? labelLayoutStyle,
  2. FPopoverMenuStyle? menuStyle,
  3. FTileStyle? tileStyle,
  4. FFormFieldStyle? enabledStyle,
  5. FFormFieldStyle? disabledStyle,
  6. FFormFieldErrorStyle? errorStyle,
})

Returns a copy of this FTileStyle with the given fields replaced with the new values.

Implementation

@useResult
FSelectMenuTileStyle copyWith({
  FLabelLayoutStyle? labelLayoutStyle,
  FPopoverMenuStyle? menuStyle,
  FTileStyle? tileStyle,
  FFormFieldStyle? enabledStyle,
  FFormFieldStyle? disabledStyle,
  FFormFieldErrorStyle? errorStyle,
}) =>
    FSelectMenuTileStyle(
      labelLayoutStyle: labelLayoutStyle ?? this.labelLayoutStyle,
      menuStyle: menuStyle ?? this.menuStyle,
      tileStyle: tileStyle ?? this.tileStyle,
      enabledStyle: enabledStyle ?? this.enabledStyle,
      disabledStyle: disabledStyle ?? this.disabledStyle,
      errorStyle: errorStyle ?? this.errorStyle,
    );