copyWith method
Returns a copy with the given values replaced.
Implementation
TextOverlay copyWith({String? text, TextOverlayStyle? style}) => TextOverlay(
id: id,
transform: transform,
text: text ?? this.text,
style: style ?? this.style,
);
Returns a copy with the given values replaced.
TextOverlay copyWith({String? text, TextOverlayStyle? style}) => TextOverlay(
id: id,
transform: transform,
text: text ?? this.text,
style: style ?? this.style,
);