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({
Key? key,
required this.transform,
this.origin,
this.alignment,
this.transformHitTests = true,
this.filterQuality,
Widget? child,
}) : assert(transform != null),
super(key: key, child: child);