copyWithTranslate method
Creates a copy with translation from an Offset.
Implementation
ZoomTransform copyWithTranslate(Offset translate) {
return ZoomTransform(
scale: scale,
translateX: translate.dx,
translateY: translate.dy,
);
}
Creates a copy with translation from an Offset.
ZoomTransform copyWithTranslate(Offset translate) {
return ZoomTransform(
scale: scale,
translateX: translate.dx,
translateY: translate.dy,
);
}