copyWith method
Implementation
TextSticker copyWith({
String? text,
TextStyle? style,
TextAlign? textAlign,
Color? background,
}) {
return TextSticker(
text: text ?? this.text,
style: style ?? this.style,
textAlign: textAlign ?? this.textAlign,
background: background ?? this.background,
);
}