withTranslation method
- Offset translation
Implementation
Transform2D withTranslation(Offset translation) {
return Transform2D(
a: a,
b: b,
c: c,
d: d,
tx: translation.dx,
ty: translation.dy,
);
}
Transform2D withTranslation(Offset translation) {
return Transform2D(
a: a,
b: b,
c: c,
d: d,
tx: translation.dx,
ty: translation.dy,
);
}