This signal should be emitted when the widget's visible child is changed.
duration can be 0 if the child is switched without animation.
This is used by SwipeGroup, applications should not connect to it.
the index of the child to switch to
Animation duration in milliseconds