fadeAndScale method
Fades and scales the widget.
Implementation
Widget fadeAndScale({
Duration duration = const Duration(milliseconds: 300),
Curve curve = Curves.easeOut,
double beginOpacity = 0,
double beginScale = 0.95,
}) => fade(
duration: duration,
curve: curve,
beginOpacity: beginOpacity,
).scale(duration: duration, curve: curve, beginScale: beginScale);