transform method

  1. @widgetFactory
Widget transform(
  1. Matrix4 transform, {
  2. Offset? origin,
  3. AlignmentGeometry? alignment,
  4. bool transformHitTests = true,
  5. FilterQuality? filterQuality,
})

Transforms this widget using a Matrix4.

Implementation

@widgetFactory
Widget transform(
  Matrix4 transform, {
  Offset? origin,
  AlignmentGeometry? alignment,
  bool transformHitTests = true,
  FilterQuality? filterQuality,
}) {
  return FleetTransform(
    transform: transform,
    origin: origin,
    alignment: alignment,
    transformHitTests: transformHitTests,
    filterQuality: filterQuality,
    child: this,
  );
}