copyWith method

USubtitleStyleConfig copyWith({
  1. double? fontSize,
  2. Color? color,
  3. double? outlineWidth,
  4. double? bottomPadding,
  5. Color? backgroundColor,
})

Implementation

USubtitleStyleConfig copyWith({double? fontSize, Color? color, double? outlineWidth, double? bottomPadding, Color? backgroundColor}) => USubtitleStyleConfig(
  fontSize: fontSize ?? this.fontSize,
  color: color ?? this.color,
  outlineColor: outlineColor,
  outlineWidth: outlineWidth ?? this.outlineWidth,
  backgroundColor: backgroundColor ?? this.backgroundColor,
  fontWeight: fontWeight,
  fontFamily: fontFamily,
  rtlFontFamily: rtlFontFamily,
  bottomPadding: bottomPadding ?? this.bottomPadding,
  horizontalPadding: horizontalPadding,
  lineHeight: lineHeight,
  shadow: shadow,
  honorAssStyling: honorAssStyling,
  maxLines: maxLines,
);