Transform constructor Null safety
- {Key? key,
- required Matrix4 transform,
- Offset? origin,
- AlignmentGeometry? alignment,
- bool transformHitTests = true,
- FilterQuality? filterQuality,
- Widget? child}
Creates a widget that transforms its child.
The transform argument must not be null.
Implementation
const Transform({
super.key,
required this.transform,
this.origin,
this.alignment,
this.transformHitTests = true,
this.filterQuality,
super.child,
}) : assert(transform != null);