smooth method

Widget smooth({
  1. required Widget to(
    1. BuildContext context,
    2. double animatedValue
    ),
})

Create a smooth spring animation.

Implementation

Widget smooth({
  required Widget Function(BuildContext context, double animatedValue) to,
}) {
  return SpringSlot<T>(
    connect: this,
    to: to,
    spring: SpringConfig.smooth,
  );
}