copyWith abstract method
TextLayer
copyWith({
- double? blur,
- double? dx,
- double? dy,
- double? opacity,
- SceneLayerBox? box,
- SceneBlendMode? blend,
This pass with the fields given changed and the rest kept. Every edit and every rescale goes through here, so a field added to a pass is carried by all of them rather than dropped by whichever call site respelled the constructor and forgot it.
Implementation
TextLayer copyWith({
double? blur,
double? dx,
double? dy,
double? opacity,
SceneLayerBox? box,
SceneBlendMode? blend,
});