Intermediate Flutter
Q71 / 100

What is an AnimatedBuilder widget used for?

Correct! Well done.

Incorrect.

The correct answer is B) Rebuilding only the subtree that depends on an animation, keeping static parent widgets from rebuilding unnecessarily

B

Correct Answer

Rebuilding only the subtree that depends on an animation, keeping static parent widgets from rebuilding unnecessarily

Explanation

AnimatedBuilder rebuilds only the widget returned by its builder function when the animation changes. The optional child parameter lets you pass a static sub-widget that is built once and passed into the builder without rebuilding.

Progress
71/100