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