https://legytma.com.br/schema/widget/stack.schema.json
Created by Windol [email protected] at 14/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | stack.schema.json |
object (Stack)
all of
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| type | string |
Optional | cannot be null | Stack |
| alignment | Unknown Type | Optional | can be null | Stack |
| textDirection | string |
Optional | cannot be null | Stack |
| fit | string |
Optional | cannot be null | Stack |
| overflow | string |
Optional | cannot be null | Stack |
| children | array |
Optional | cannot be null | Stack |
Identify the widget type
Used to identify parser. Every parser can permit only one type
type
string (Type)
constant: the value of this property must be equal to:
"Stack"
Created by Windol [email protected] at 15/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
alignment
array or boolean or integer or number or object or string (Dynamic)any of the folllowing: array or boolean or integer or number or object or string (Dynamic)
The default value is:
"unbounded"
Determine the text direction.
Used to identify parser. Every parser can permit only one type
textDirection
string (Text Direction)string (Text Direction)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"ltr" |
|
"rtl" |
"ltr"
"rtl"
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
fit
string (Stack Fit)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"loose" |
|
"expand" |
|
"passthrough" |
The default value is:
"loose"
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
overflow
string (Overflow)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"visible" |
|
"clip" |
The default value is:
"clip"
List of Schema to validation of JSON used to parse Widgets.
You can add any widget inheritance’s.
children
object[] (Widget)
The default value is:
[]