copyWith method
Implementation
TextRun copyWith({
int? unicharCount,
int? styleId,
Object? userData,
Font? font,
double? fontSize,
double? lineHeight,
double? letterSpacing,
}) =>
TextRun(
font: font ?? this.font,
fontSize: fontSize ?? this.fontSize,
lineHeight: lineHeight ?? this.lineHeight,
letterSpacing: letterSpacing ?? this.letterSpacing,
unicharCount: unicharCount ?? this.unicharCount,
styleId: styleId ?? this.styleId,
userData: userData ?? this.userData,
);