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://www.yogalayout.dev/docs/styling/margin-padding-border for more information