copyWith method
Implementation
TextPaint copyWith(
TextStyle Function(TextStyle) transform, {
TextDirection? textDirection,
}) {
return TextPaint(
style: transform(style),
textDirection: textDirection ?? this.textDirection,
);
}
TextPaint copyWith(
TextStyle Function(TextStyle) transform, {
TextDirection? textDirection,
}) {
return TextPaint(
style: transform(style),
textDirection: textDirection ?? this.textDirection,
);
}