Material App home screen that contains:

A Container with borderRadius, margin, and color properties that are
different each time you run the example.

A Change button that does nothing when clicked.

Shape-shifting (starter code)

Click the Run button to run the example:

Animate color, borderRadius, and margin with AnimatedContainer

This section contains a list of steps you can use to add an
  implicit animation to the shape-shifting starter code.
  After the steps, you can also run the
  shape-shifting complete example with the changes already made.

shape-shifting starter code,
each property in the

Generate new values for color, borderRadius,
and margin whenever the user clicks the Change button.

Animate the transition to the new values for color,
borderRadius, and margin whenever they are set.

1. Add an implicit animation