position method
Sets the position of this child relative to the parent, this should only be called during layout or paint.
See also:
- positionOnAxis
positionAligned
- offset
- rect
Implementation
void position(Offset newOffset) {
setTransform(Matrix4.translationValues(newOffset.dx, newOffset.dy, 0));
}