Build: CustomContainerView
A screen that shows how to create a custom container view using @ViewBuilder to arrange multiple child views vertically with padding and background color.
Target UI
------------------------- | Custom Container View | |-----------------------| | [ Child View 1 ] | | [ Child View 2 ] | | [ Child View 3 ] | | | -------------------------
Create a custom container view named CustomContainer that accepts multiple child views using @ViewBuilder.
Arrange the child views vertically with spacing of 10 points.
Add padding of 20 points around the container.
Set a light gray background color with rounded corners.
Use the CustomContainer in the main view to display three Text views: "Child View 1", "Child View 2", and "Child View 3".