mount method
- Element parent,
- dynamic newSlot
override
This method has been overridden in order to handle the new AnimatedRenderSliverList.didChangeDependencies method like in State.didChangeDependencies. In addition the method attaches this instance to the AnimatedListController.
Implementation
@override
void mount(final Element parent, final dynamic newSlot) {
super.mount(parent, newSlot);
renderObject.didChangeDependencies(this);
widget.controller?._setAdaptor(renderObject);
}