RenderTransform constructor Null safety
- {required Matrix4 transform,
- Offset? origin,
- AlignmentGeometry? alignment,
- TextDirection? textDirection,
- bool transformHitTests = true,
- FilterQuality? filterQuality,
- RenderBox? child}
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,
FilterQuality? filterQuality,
RenderBox? child,
}) : assert(transform != null),
super(child) {
this.transform = transform;
this.alignment = alignment;
this.textDirection = textDirection;
this.filterQuality = filterQuality;
this.origin = origin;
}