copyWith method

  1. @override
InlineTextStyle copyWith(
  1. covariant InlineTextStyle other
)
override

Implementation

@override
InlineTextStyle copyWith(InlineTextStyle other) {
  return InlineTextStyle(
    color: color ?? other.color,
    fontFamily: fontFamily ?? other.fontFamily,
    fontSize: fontSize ?? other.fontSize,
    fontScale: fontScale ?? other.fontScale,
    fontWeight: fontWeight ?? other.fontWeight,
    fontStyle: fontStyle ?? other.fontStyle,
    letterSpacing: letterSpacing ?? other.letterSpacing,
  );
}