Skip to main content

layout_positioned_child

Function layout_positioned_child 

Source
pub fn layout_positioned_child(
    app: &mut App,
    child: AnyRenderBox,
    size: Size,
    alignment: Alignment,
) -> bool
Expand description

Lays out the positioned child according to alignment within a stack of size.

Returns true when the child has visual overflow. Flutter’s RenderStack.layoutPositionedChild; it also takes the child’s StackParentData, which is read from the child here.