In the previous example we created AnimationController and passed this (which is the State with SingleTickerProviderStateMixin mixin) to the controller, but how to add this mixin to the widget?
This is done through the <with /> tag:
<MyPage controller="MyController">
<with mixin="SingleTickerProviderStateMixin" />
...
</MyPage>