public static void Distribute(this LayoutBuilder layout, RectangleF bounds, DistributionDirection direction, params PlatformView[] views) { if (direction == DistributionDirection.Horizontal) { layout.DistributeHorizontally(bounds, views); } else { layout.DistributeVertically(bounds, views); } }
public static void DistributeVertically(this LayoutBuilder layout, params PlatformView[] views) { layout.DistributeVertically(layout.PaddedOuterBounds, views); }