copyWith method

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

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

Implementation

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