Leaflet.setVisibleChild

Makes @visible_child visible using a transition determined by HdyLeaflet:transition-type and HdyLeaflet:child-transition-duration. The transition can be cancelled by the user, in which case visible child will change back to the previously visible child.

class Leaflet
void
setVisibleChild
()

Parameters

visibleChild Widget

the new child

Meta