RenderTransform constructor

RenderTransform({
  1. required Matrix4 transform,
  2. Offset? origin,
  3. AlignmentGeometry? alignment,
  4. TextDirection? textDirection,
  5. bool transformHitTests = true,
  6. FilterQuality? filterQuality,
  7. RenderBox? child,
})

Creates a render object that transforms its child.

Implementation

RenderTransform({
  required Matrix4 transform,
  Offset? origin,
  AlignmentGeometry? alignment,
  TextDirection? textDirection,
  this.transformHitTests = true,
  FilterQuality? filterQuality,
  RenderBox? child,
}) : super(child) {
  this.transform = transform;
  this.alignment = alignment;
  this.textDirection = textDirection;
  this.filterQuality = filterQuality;
  this.origin = origin;
}