scaleTransition method

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

Animates the scale of a transformed widget.

Implementation

Widget scaleTransition({
  required Animation<double> scale,
  Key? key,
  Alignment alignment = Alignment.center,
  FilterQuality? filterQuality,
}) {
  return ScaleTransition(
    key: key,
    scale: scale,
    alignment: alignment,
    filterQuality: filterQuality,
    child: this,
  );
}