copyWith method
- @useResult
- FTileStyle? tileStyle,
- FLabelLayoutStyle? labelLayoutStyle,
- FFormFieldStyle? enabledStyle,
- FFormFieldStyle? disabledStyle,
- 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,
);