September 2019
Beginner
512 pages
12h 52m
English
AnimatedWidget is an abstract class and, as we said before, we need to override its build() method directly to reflect animation changes. Its constructor is defined as follows:
const AnimatedWidget({ Key key, @required Listenable listenable})
As you can see, the only required property is the Listenable object so that it can listen to animation updates. The whole widget build logic is the responsibility of its descending class.
Read now
Unlock full access