marginPx

open fun marginPx(edge: YogaEdge, @Px margin: Int): T

Effects the spacing around the outside of a node. A node with margin will offset itself from the bounds of its parent but also offset the location of any siblings. See https://yogalayout.dev/docs/margins-paddings-borders for more information