scale static method

Transform scale({
  1. required Widget child,
  2. required Animation<double> animation,
})

scale Animation

Implementation

static Transform scale({
  /// child
  required Widget child,

  /// animation
  required Animation<double> animation,
}) {
  return Transform.scale(
    scale: animation.value,
    child: Opacity(
      opacity: animation.value,
      child: child,
    ),
  );
}