The AnimatedWidget class

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.128.199.162