get_adjacent_child


Description:

public unowned Widget? get_adjacent_child (NavigationDirection direction)

Finds the previous or next navigatable child.

Gets the previous or next child. This will be the same widget [method@Deck.navigate] will navigate to.

If there's no child to navigate to, `NULL` will be returned instead.

Parameters:

this

a deck

direction

the direction

Returns:

the previous or next child