scaleIn method
Wraps the widget with a scale-in animation.
Example:
Text('Hello').scaleIn(duration: Duration(milliseconds: 500));
Implementation
Widget scaleIn({
Duration duration = const Duration(milliseconds: 300),
Duration delay = Duration.zero,
Curve curve = Curves.easeOutBack,
double beginScale = 0.0,
Alignment alignment = Alignment.center,
}) {
return _ScaleInWidget(
duration: duration,
delay: delay,
curve: curve,
beginScale: beginScale,
alignment: alignment,
child: this,
);
}