animation

create

animation

animation

addListener

(()

setState

(()

// Intentionally empty. The state is inside the animation object.

});

});

Timeline

This change was released in Flutter v1.20.0.

References

API documentation:

LayoutBuilder

SliverLayoutBuilder

Relevant issues:

Issue 6469

Relevant PRs:

LayoutBuilder: skip calling builder when constraints are the same