Emitted when the widget's visible child is changed.
duration
can be 0 if the child is switched without animation.
This is used by [class@SwipeGroup], applications should not connect to it.
index |
the index of the child to switch to |
duration |
animation duration, in milliseconds |