Legytma Schemas

Row Schema

https://legytma.com.br/schema/widget/row.schema.json

Created by Windol [email protected] at 13/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 row.schema.json

Row Type

object (Row)

all of

Row Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Row
crossAxisAlignment string Optional cannot be null Row
mainAxisAlignment string Optional cannot be null Row
mainAxisSize string Optional cannot be null Row
textBaseline string Optional cannot be null Row
textDirection string Optional cannot be null Row
verticalDirection string Optional cannot be null Row
children array Optional cannot be null Row

type

Identify the widget type

Used to identify parser. Every parser can permit only one type

type

type Type

string (Type)

type Constraints

constant: the value of this property must be equal to:

"Row"

crossAxisAlignment

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

crossAxisAlignment

crossAxisAlignment Type

string (Cross Axis Alignment)

crossAxisAlignment Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"start"  
"end"  
"center"  
"stretch"  
"baseline"  

crossAxisAlignment Default Value

The default value is:

"center"

mainAxisAlignment

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

mainAxisAlignment

mainAxisAlignment Type

string (Main Axis Alignment)

mainAxisAlignment Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"start"  
"end"  
"center"  
"spaceBetween"  
"spaceAround"  
"spaceEvenly"  

mainAxisAlignment Default Value

The default value is:

"start"

mainAxisSize

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

mainAxisSize

mainAxisSize Type

string (Main Axis Size)

mainAxisSize Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"min"  
"max"  

mainAxisSize Default Value

The default value is:

"max"

textBaseline

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

textBaseline

textBaseline Type

string (Text Baseline)

textBaseline Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"alphabetic"  
"ideographic"  

textDirection

Determine the text direction.

Used to identify parser. Every parser can permit only one type

textDirection

textDirection Type

string (Text Direction)

textDirection Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"ltr"  
"rtl"  

textDirection Examples

"ltr"
"rtl"

verticalDirection

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

verticalDirection

verticalDirection Type

string (Vertical Direction)

verticalDirection Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"up"  
"down"  

verticalDirection Default Value

The default value is:

"down"

children

List of Schema to validation of JSON used to parse Widgets.

You can add any widget inheritance’s.

children

children Type

object[] (Widget)

children Default Value

The default value is:

[]