https://schema.legytma.com.br/3.0.0/schema/widget/wrap.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 | wrap.schema.json |
object (Wrap)
all of
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| type | string |
Optional | cannot be null | Wrap |
| direction | string |
Optional | cannot be null | Wrap |
| alignment | string |
Optional | cannot be null | Wrap |
| spacing | Merged | Optional | cannot be null | Wrap |
| runAlignment | string |
Optional | cannot be null | Wrap |
| runSpacing | Merged | Optional | cannot be null | Wrap |
| crossAxisAlignment | string |
Optional | cannot be null | Wrap |
| textDirection | string |
Optional | cannot be null | Wrap |
| verticalDirection | string |
Optional | cannot be null | Wrap |
| children | array |
Optional | cannot be null | Wrap |
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:
"Wrap"
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
direction
string (Axis)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"horizontal" |
|
"vertical" |
The default value is:
"vertical"
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
alignment
string (Wrap Alignment)string (Wrap Alignment)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"start" |
|
"end" |
|
"center" |
|
"spaceBetween" |
|
"spaceAround" |
|
"spaceEvenly" |
The default value is:
"start"
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
spacing
merged type (Double)
one (and only one) of
maximum: the value of this number must smaller than or equal to: 1
minimum: the value of this number must greater than or equal to: 0
The default value is:
1
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
runAlignment
string (Wrap Alignment)string (Wrap Alignment)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"start" |
|
"end" |
|
"center" |
|
"spaceBetween" |
|
"spaceAround" |
|
"spaceEvenly" |
The default value is:
"start"
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
runSpacing
merged type (Double)
one (and only one) of
maximum: the value of this number must smaller than or equal to: 1
minimum: the value of this number must greater than or equal to: 0
The default value is:
1
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
crossAxisAlignment
string (Wrap Cross Alignment)string (Wrap Cross Alignment)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"start" |
|
"end" |
|
"center" |
The default value is:
"start"
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.
verticalDirection
string (Vertical Direction)string (Vertical Direction)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"up" |
|
"down" |
The default value is:
"down"
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:
[]