transformedScale method

Widget transformedScale({
  1. required double scale,
  2. Offset? origin,
  3. AlignmentGeometry alignment = Alignment.center,
  4. bool transformHitTests = true,
  5. FilterQuality filterQuality = FilterQuality.low,
  6. Key? key,
})

Scales it's child along the 2D pane

Implementation

Widget transformedScale({
  required double scale,
  Offset? origin,
  AlignmentGeometry alignment = Alignment.center,
  bool transformHitTests = true,
  FilterQuality filterQuality = FilterQuality.low,
  Key? key,
}) {
  return Transform.scale(
    key: key,
    scale: scale,
    origin: origin,
    alignment: alignment,
    transformHitTests: transformHitTests,
    filterQuality: filterQuality,
    child: this,
  );
}