That’s it! With the updated frame rate
and the top margin values needed for each frame,
you now have enough information
to update the preceding example
by doubling the frame rate that the animation uses.
Before diving into the following example,
think about how you might refactor the preceding example
using these updated parameters.
You can use the DartPad editor in the preceding example
to try out your solution.
When you’re ready, run the next example to
view the updated animation:

Example: bouncing ball (starter code 2)

Quick Review:

Frame rate is measured as the number of frames per second (fps).

Flutter aims to provide 60 fps performance,
or 120 fps performance on devices capable of 120Hz updates.
For 60fps, frames need to render approximately every 16ms.
See performance profiling page for more information.

Interpolation