Legytma Schemas

Safe Area Schema

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

Safe Area Type

object (Safe Area)

all of

Safe Area Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Safe Area
left boolean Optional cannot be null Safe Area
right boolean Optional cannot be null Safe Area
top boolean Optional cannot be null Safe Area
bottom boolean Optional cannot be null Safe Area
minimum Merged Optional cannot be null Safe Area
maintainBottomViewPadding boolean Optional cannot be null Safe Area
child object Optional cannot be null Safe Area

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:

"SafeArea"

left

Define the representation of boolean acceptable.

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

left

left Type

boolean (Boolean)

left Default Value

The default value is:

true

left Examples

true
false

Define the representation of boolean acceptable.

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

right

right Type

boolean (Boolean)

right Default Value

The default value is:

true

right Examples

true
false

top

Define the representation of boolean acceptable.

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

top

top Type

boolean (Boolean)

top Default Value

The default value is:

true

top Examples

true
false

bottom

Define the representation of boolean acceptable.

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

bottom

bottom Type

boolean (Boolean)

bottom Default Value

The default value is:

true

bottom Examples

true
false

minimum

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

minimum

minimum Type

merged type (Edge Insets)

one (and only one) of

minimum Default Value

The default value is:

"zero"

maintainBottomViewPadding

Define the representation of boolean acceptable.

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

maintainBottomViewPadding

maintainBottomViewPadding Type

boolean (Boolean)

maintainBottomViewPadding Default Value

The default value is:

true

maintainBottomViewPadding Examples

true
false

child

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

child

child Type

object (Widget)