ScaleTransition constructor

const ScaleTransition({Key key, @required Animation<double> scale, Alignment alignment: Alignment.center, Widget child })

Creates a scale transition.

The scale argument must not be null. The alignment argument defaults to Alignment.center.

Implementation

const ScaleTransition({
  Key key,
  @required Animation<double> scale,
  this.alignment = Alignment.center,
  this.child,
}) : super(key: key, listenable: scale);