scale method

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

Implementation

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