copyWith method
A copy with the given fields replaced.
Implementation
ScriptStyle copyWith({double? scale, Color? color}) {
return ScriptStyle(scale: scale ?? this.scale, color: color ?? this.color);
}
A copy with the given fields replaced.
ScriptStyle copyWith({double? scale, Color? color}) {
return ScriptStyle(scale: scale ?? this.scale, color: color ?? this.color);
}