Legytma Schemas

Drawer Header Schema

https://schema.legytma.com.br/1.1.2/schema/widget/drawer_header.schema.json

Created by Windol windol@legytma.com.br at 05/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 drawer_header.schema.json

Drawer Header Type

object (Drawer Header)

all of

Drawer Header Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Drawer Header
child object Optional cannot be null Drawer Header
decoration object Optional cannot be null Drawer Header
margin Unknown Type Optional cannot be null Drawer Header
padding Unknown Type Optional cannot be null Drawer Header
curve string Optional cannot be null Drawer Header
duration object Optional cannot be null Drawer Header

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:

"DrawerHeader"

child

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

child

child Type

object (Widget)

decoration

Created by Windol windol@legytma.com.br at 23/04/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

decoration

decoration Type

object (Decoration)

margin

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

margin

margin Type

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

margin Default Value

The default value is:

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

padding

Created by Windol windol@legytma.com.br 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
}

curve

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

curve

curve Type

string (Curve)

curve Constraints

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

Value Explanation
"bounceIn"  
"bounceInOut"  
"bounceOut"  
"decelerate"  
"ease"  
"easeIn"  
"easeInBack"  
"easeInCirc"  
"easeInCubic"  
"easeInExpo"  
"easeInOut"  
"easeInOutBack"  
"easeInOutCirc"  
"easeInOutCubic"  
"easeInOutExpo"  
"easeInOutQuad"  
"easeInOutQuart"  
"easeInOutQuint"  
"easeInOutSine"  
"easeInQuad"  
"easeInQuart"  
"easeInQuint"  
"easeInSine"  
"easeInToLinear"  
"easeOut"  
"easeOutBack"  
"easeOutCirc"  
"easeOutCubic"  
"easeOutExpo"  
"easeOutQuad"  
"easeOutQuart"  
"easeOutQuint"  
"easeOutSine"  
"elasticIn"  
"elasticInOut"  
"elasticOut"  
"fastLinearToSlowEaseIn"  
"fastOutSlowIn"  
"linear"  
"linearToEaseOut"  
"slowMiddle"  

curve Default Value

The default value is:

"fastOutSlowIn"

duration

Created by Windol windol@legytma.com.br at 27/04/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

duration

duration Type

object (Duration)

duration Default Value

The default value is:

{
  "milliseconds": 250
}