Legytma Schemas

Grid View Params Schema

https://legytma.com.br/schema/grid_view_params.schema.json

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

Grid View Params Type

object (Grid View Params)

Grid View Params Properties

Property Type Required Nullable Defined by
crossAxisCount Unknown Type Optional cannot be null Grid View Params
scrollDirection string Optional cannot be null Grid View Params
reverse boolean Optional cannot be null Grid View Params
shrinkWrap boolean Optional cannot be null Grid View Params
cacheExtent Merged Optional cannot be null Grid View Params
padding Unknown Type Optional cannot be null Grid View Params
mainAxisSpacing Merged Optional cannot be null Grid View Params
crossAxisSpacing Merged Optional cannot be null Grid View Params
childAspectRatio Merged Optional cannot be null Grid View Params
children array Optional cannot be null Grid View Params
pageSize Unknown Type Optional cannot be null Grid View Params
loadMoreUrl string Optional cannot be null Grid View Params
isDemo boolean Optional cannot be null Grid View Params

crossAxisCount

Define the representation of integer acceptable.

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

crossAxisCount

crossAxisCount Type

any of the folllowing: string or integer (Integer)

crossAxisCount Default Value

The default value is:

10

crossAxisCount Examples

"123"
"#32"
"0b111001"
"$23"
"0x162"
123

scrollDirection

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

scrollDirection

scrollDirection Type

string (Axis)

scrollDirection Constraints

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

Value Explanation
"horizontal"  
"vertical"  

scrollDirection Default Value

The default value is:

"vertical"

reverse

Define the representation of boolean acceptable.

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

reverse

reverse Type

boolean (Boolean)

reverse Default Value

The default value is:

true

reverse Examples

true
false

shrinkWrap

Define the representation of boolean acceptable.

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

shrinkWrap

shrinkWrap Type

boolean (Boolean)

shrinkWrap Default Value

The default value is:

true

shrinkWrap Examples

true
false

cacheExtent

Define the representation of double acceptable.

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

cacheExtent

cacheExtent Type

merged type (Double)

one (and only one) of

cacheExtent Constraints

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

cacheExtent Default Value

The default value is:

1

padding

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

padding

padding Type

any of the folllowing: string or object (Edge Insets Geometry)

padding Default Value

The default value is:

{
  "type": "only",
  "bottom": 8
}

mainAxisSpacing

Define the representation of double acceptable.

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

mainAxisSpacing

mainAxisSpacing Type

merged type (Double)

one (and only one) of

mainAxisSpacing Constraints

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

mainAxisSpacing Default Value

The default value is:

1

crossAxisSpacing

Define the representation of double acceptable.

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

crossAxisSpacing

crossAxisSpacing Type

merged type (Double)

one (and only one) of

crossAxisSpacing Constraints

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

crossAxisSpacing Default Value

The default value is:

1

childAspectRatio

Define the representation of double acceptable.

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

childAspectRatio

childAspectRatio Type

merged type (Double)

one (and only one) of

childAspectRatio Constraints

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

childAspectRatio Default Value

The default value is:

1

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:

[]

pageSize

Define the representation of integer acceptable.

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

pageSize

pageSize Type

any of the folllowing: string or integer (Integer)

pageSize Default Value

The default value is:

10

pageSize Examples

"123"
"#32"
"0b111001"
"$23"
"0x162"
123

loadMoreUrl

loadMoreUrl

loadMoreUrl Type

string (Load More URL)

isDemo

Define the representation of boolean acceptable.

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

isDemo

isDemo Type

boolean (Boolean)

isDemo Default Value

The default value is:

true

isDemo Examples

true
false