ScaleYWidget constructor

const ScaleYWidget(
  1. {Key key,
  2. @required Animation<double> scaleY,
  3. @required Widget child,
  4. Alignment alignment: Alignment.center}
)

Implementation

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