Loading topic
StatefulWidget, call setState, and read a build method. Earlier you saw that Flutter animates by rebuilding widgets many times per second with changing values. Here you will see how implicit animations hide that work from you.5 min readconst constructors, and that you can write a StatefulWidget that calls setState. It also assumes you have seen AnimatedContainer in the previous chapters. Here you will learn how the two settings every implicit animation shares, duration and `4 min readStatefulWidget and setState, the Container widget, and basic Dart (named parameters, ternary expressions, closures). You do not need any animation knowledge. By the end you will be able to animate a box with AnimatedContainer, say which properties it animates, a4 min readAnimatedContainer, the duration and curve parameters, and setState in a StatefulWidget. Here you will meet the rest of the built-in implicit widgets, learn which property each one animates, and learn the rules that make them behave as expected.4 min readStatefulWidget with setState, you know what a builder callback is, and you have used AnimatedContainer with a duration and a curve. You do not need AnimationController yet. That comes later.5 min readStatefulWidget, call setState, and use AnimatedContainer and TweenAnimationBuilder. It covers where those widgets stop being enough and which signs tell you to switch to an explicit animation.4 min readStatefulWidget, setState and build work, and that you have used AnimatedContainer or TweenAnimationBuilder. It introduces the explicit approach and the parts it is made of. Later chapters cover each part in detail.4 min readStatefulWidget with setState, and the implicit animations from the earlier chapters. It covers AnimationController, the object at the center of every explicit animation.4 min readStatefulWidget lifecycle methods (initState, dispose), and the AnimationController basics from the previous chapter. It explains what the vsync: this argument means, why it needs a mixin, and which errors come from getting it wrong.4 min readAnimationController produces numbers from 0.0 to 1.0. Widgets need other kinds of values, such as widths in pixels, colors, offsets, and rectangles. A Tween converts one into the other. This chapter covers how tweens work, which ones ship with Flutter, how to chain them with curves, and the m4 min readStatefulWidget with SingleTickerProviderStateMixin. It also assumes you have created and disposed an AnimationController, and that you know a Tween maps the range 0 to 1 onto other values. Here you will learn how a curve reshapes the controller's value, w4 min readAnimatedBuilder rebuilds only the part of a widget tree that changes on each animation tick. It assumes you know Dart closures and generics, how StatefulWidget and setState work, and what you learned in earlier chapters about AnimationController, tickers, and `Tween5 min readAnimationController with SingleTickerProviderStateMixin, how Tween and CurvedAnimation work, and why you dispose a controller. Earlier chapters covered AnimatedBuilder. Here you will see the widgets that wrap the most common AnimatedBuilder 5 min readAnimationController, and the status values and listeners that report what the controller is doing. It assumes you know Dart (classes, mixins, closures), StatefulWidget and setState, and that you have already created a controller wit5 min readStatefulWidget with AnimationController, vsync, and AnimatedBuilder, as covered earlier in this tutorial. It explains what you must release when an explicit animation ends, and which habits keep animations from costing more than they should.4 min readAnimatedContainer, TweenAnimationBuilder, AnimationController, Tween, CurvedAnimation, AnimatedBuilder and Interval. It also assumes you can write a StatefulWidget with setState and a State that uses a ticker mixin. Here you learn how to pick among t4 min read