ScaleTransition constructor Null safety
Creates a scale transition.
The scale
argument must not be null. The alignment argument defaults
to Alignment.center.
Implementation
const ScaleTransition({
super.key,
required Animation<double> scale,
this.alignment = Alignment.center,
this.filterQuality,
this.child,
}) : assert(scale != null),
super(listenable: scale);