Intermediate Flutter
Q51 / 100

What is a Tween in Flutter animations?

Correct! Well done.

Incorrect.

The correct answer is B) An object that maps an AnimationController's 0.0–1.0 range to any interpolated range of values

B

Correct Answer

An object that maps an AnimationController's 0.0–1.0 range to any interpolated range of values

Explanation

A Tween defines the range of values an animation produces. Tween<double>(begin: 0, end: 300) maps 0.0–1.0 to 0–300. You can tween Colors, Offsets, sizes, and custom types using the animate() method with an AnimationController.

Progress
51/100