margin property

EdgeInsets? margin
getter/setter pair

Instead of setting a position of the PositionComponent that uses ComponentViewportMargin a margin from the edges of the parent can be used instead.

Implementation

EdgeInsets? margin;