Container
is a component that contains other components inside it.
See how the structure is represented:
Attribute | Type | Required | Definition |
---|---|---|---|
children | List <ServerDriven Component> | The content of this Container, i.e. its children. | |
context | ContextData | It is the context in this widget. | |
onInit | List<Action> | It is a parameter that allows you to define a list of actions to be performed when the Widget is displayed. | |
styleId | String | Refers to a locally configured style that it will be applied on the container. |
Container(
children = listOf(
Text(text = "@{myContext}")
),
context = ContextData(
id = "myContext",
value = "Hello World!"
)
)
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.