RenderTransform constructor
Creates a render object that transforms its child.
The transform
argument must not be null.
Implementation
RenderTransform({
@required Matrix4 transform,
Offset origin,
AlignmentGeometry alignment,
TextDirection textDirection,
this.transformHitTests = true,
RenderBox child
}) : assert(transform != null),
super(child) {
this.transform = transform;
this.alignment = alignment;
this.textDirection = textDirection;
this.origin = origin;
}