Legytma Schemas

Scaffold Schema

https://legytma.com.br/schema/widget/scaffold.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 scaffold.schema.json

Scaffold Type

object (Scaffold)

all of

Scaffold Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Scaffold
backgroundColor Merged Optional cannot be null Scaffold
body object Optional cannot be null Scaffold
drawer object Optional cannot be null Scaffold
appBar Unknown Type Optional can be null Scaffold
floatingActionButton object Optional cannot be null Scaffold
primary boolean Optional cannot be null Scaffold
bottomNavigationBar object Optional cannot be null Scaffold
bottomSheet object Optional cannot be null Scaffold
drawerDragStartBehavior string Optional cannot be null Scaffold
drawerEdgeDragWidth Merged Optional cannot be null Scaffold
drawerScrimColor Merged Optional cannot be null Scaffold
endDrawer object Optional cannot be null Scaffold
extendBody boolean Optional cannot be null Scaffold
extendBodyBehindAppBar boolean Optional cannot be null Scaffold
floatingActionButtonAnimator object Optional cannot be null Scaffold
floatingActionButtonLocation object Optional cannot be null Scaffold
persistentFooterButtons array Optional cannot be null Scaffold
resizeToAvoidBottomInset boolean Optional cannot be null Scaffold
resizeToAvoidBottomPadding boolean Optional cannot be null Scaffold

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:

"Scaffold"

backgroundColor

A number in format string or integer

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

backgroundColor

backgroundColor Type

merged type (Color)

all of

backgroundColor Default Value

The default value is:

"0xFF000000"

backgroundColor Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

body

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

body

body Type

object (Widget)

drawer

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

drawer

drawer Type

object (Widget)

appBar

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

appBar

appBar Type

any of the folllowing: array or boolean or integer or number or object or string (Dynamic)

appBar Default Value

The default value is:

"unbounded"

floatingActionButton

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

floatingActionButton

floatingActionButton Type

object (Widget)

primary

Define the representation of boolean acceptable.

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

primary

primary Type

boolean (Boolean)

primary Default Value

The default value is:

true

primary Examples

true
false

bottomNavigationBar

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

bottomNavigationBar

bottomNavigationBar Type

object (Widget)

bottomSheet

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

bottomSheet

bottomSheet Type

object (Widget)

drawerDragStartBehavior

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

drawerDragStartBehavior

drawerDragStartBehavior Type

string (Drag Start Behavior)

drawerDragStartBehavior Constraints

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

Value Explanation
"down"  
"start"  

drawerDragStartBehavior Default Value

The default value is:

"start"

drawerDragStartBehavior Examples

"down"
"start"

drawerEdgeDragWidth

Define the representation of double acceptable.

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

drawerEdgeDragWidth

drawerEdgeDragWidth Type

merged type (Double)

one (and only one) of

drawerEdgeDragWidth 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

drawerEdgeDragWidth Default Value

The default value is:

1

drawerScrimColor

A number in format string or integer

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

drawerScrimColor

drawerScrimColor Type

merged type (Color)

all of

drawerScrimColor Default Value

The default value is:

"0xFF000000"

drawerScrimColor Examples

"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295

endDrawer

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

endDrawer

endDrawer Type

object (Widget)

extendBody

Define the representation of boolean acceptable.

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

extendBody

extendBody Type

boolean (Boolean)

extendBody Default Value

The default value is:

true

extendBody Examples

true
false

extendBodyBehindAppBar

Define the representation of boolean acceptable.

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

extendBodyBehindAppBar

extendBodyBehindAppBar Type

boolean (Boolean)

extendBodyBehindAppBar Default Value

The default value is:

true

extendBodyBehindAppBar Examples

true
false

floatingActionButtonAnimator

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

floatingActionButtonAnimator

floatingActionButtonAnimator Type

object (Floating Action Button Animator)

floatingActionButtonLocation

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

floatingActionButtonLocation

floatingActionButtonLocation Type

object (Floating Action Button Location)

persistentFooterButtons

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

You can add any widget inheritance’s.

persistentFooterButtons

persistentFooterButtons Type

object[] (Widget)

persistentFooterButtons Default Value

The default value is:

[]

resizeToAvoidBottomInset

Define the representation of boolean acceptable.

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

resizeToAvoidBottomInset

resizeToAvoidBottomInset Type

boolean (Boolean)

resizeToAvoidBottomInset Default Value

The default value is:

true

resizeToAvoidBottomInset Examples

true
false

resizeToAvoidBottomPadding

Define the representation of boolean acceptable.

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

resizeToAvoidBottomPadding

resizeToAvoidBottomPadding Type

boolean (Boolean)

resizeToAvoidBottomPadding Default Value

The default value is:

true

resizeToAvoidBottomPadding Examples

true
false