getSibling

Optional<WidgetgetSibling(int siblingOffset)

Gets a sibling of this widget from the specified offset

Return

a sibling of this widget from the specified offset

Parameters

siblingOffset

the offset (for example, an offset of 1 would find a child from the parent of this widget that has this index + 1)