ScaleTransition constructor

const ScaleTransition({
  1. Key? key,
  2. required Animation<double> scale,
  3. Alignment alignment = Alignment.center,
  4. FilterQuality? filterQuality,
  5. Widget? child,
})

Creates a scale transition.

The alignment argument defaults to Alignment.center.

Implementation

const ScaleTransition({
  super.key,
  required Animation<double> scale,
  super.alignment = Alignment.center,
  super.filterQuality,
  super.child,
}) : super(animation: scale, onTransform: _handleScaleMatrix);