Legytma Schemas

Floating Action Button Schema

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

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

Floating Action Button Type

object (Floating Action Button)

all of

Floating Action Button Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Floating Action Button
onPressed Unknown Type Optional can be null Floating Action Button
autofocus boolean Optional cannot be null Floating Action Button
backgroundColor Merged Optional cannot be null Floating Action Button
child object Optional cannot be null Floating Action Button
clipBehavior string Optional cannot be null Floating Action Button
disabledElevation Merged Optional cannot be null Floating Action Button
elevation Merged Optional cannot be null Floating Action Button
focusColor Merged Optional cannot be null Floating Action Button
focusElevation Merged Optional cannot be null Floating Action Button
focusNode object Optional cannot be null Floating Action Button
foregroundColor Merged Optional cannot be null Floating Action Button
highlightElevation Merged Optional cannot be null Floating Action Button
hoverColor Merged Optional cannot be null Floating Action Button
hoverElevation Merged Optional cannot be null Floating Action Button
isExtended boolean Optional cannot be null Floating Action Button
materialTapTargetSize string Optional cannot be null Floating Action Button
mini boolean Optional cannot be null Floating Action Button
shape Unknown Type Optional can be null Floating Action Button
splashColor Merged Optional cannot be null Floating Action Button
tooltip string Optional cannot be null Floating Action Button

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:

"FloatingActionButton"

onPressed

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

onPressed

onPressed Type

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

autofocus

Define the representation of boolean acceptable.

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

autofocus

autofocus Type

boolean (Boolean)

autofocus Default Value

The default value is:

true

autofocus Examples

true
false

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

child

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

child

child Type

object (Widget)

clipBehavior

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

clipBehavior

clipBehavior Type

string (Clip)

clipBehavior Constraints

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

Value Explanation
"antiAlias"  
"none"  
"hardEdge"  
"antiAliasWithSaveLayer"  

clipBehavior Default Value

The default value is:

"none"

disabledElevation

Define the representation of double acceptable.

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

disabledElevation

disabledElevation Type

merged type (Double)

one (and only one) of

disabledElevation 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

disabledElevation Default Value

The default value is:

1

elevation

Define the representation of double acceptable.

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

elevation

elevation Type

merged type (Double)

one (and only one) of

elevation 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

elevation Default Value

The default value is:

1

focusColor

A number in format string or integer

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

focusColor

focusColor Type

merged type (Color)

all of

focusColor Default Value

The default value is:

"0xFF000000"

focusColor Examples

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

focusElevation

Define the representation of double acceptable.

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

focusElevation

focusElevation Type

merged type (Double)

one (and only one) of

focusElevation 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

focusElevation Default Value

The default value is:

1

focusNode

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

focusNode

focusNode Type

object (Focus Node)

foregroundColor

A number in format string or integer

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

foregroundColor

foregroundColor Type

merged type (Color)

all of

foregroundColor Default Value

The default value is:

"0xFF000000"

foregroundColor Examples

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

highlightElevation

Define the representation of double acceptable.

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

highlightElevation

highlightElevation Type

merged type (Double)

one (and only one) of

highlightElevation 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

highlightElevation Default Value

The default value is:

1

hoverColor

A number in format string or integer

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

hoverColor

hoverColor Type

merged type (Color)

all of

hoverColor Default Value

The default value is:

"0xFF000000"

hoverColor Examples

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

hoverElevation

Define the representation of double acceptable.

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

hoverElevation

hoverElevation Type

merged type (Double)

one (and only one) of

hoverElevation 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

hoverElevation Default Value

The default value is:

1

isExtended

Define the representation of boolean acceptable.

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

isExtended

isExtended Type

boolean (Boolean)

isExtended Default Value

The default value is:

true

isExtended Examples

true
false

materialTapTargetSize

materialTapTargetSize

materialTapTargetSize Type

string (Material Tap Target Size)

materialTapTargetSize Constraints

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

Value Explanation
"padded"  
"shrinkWrap"  

materialTapTargetSize Examples

"padded"
"shrinkWrap"

mini

Define the representation of boolean acceptable.

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

mini

mini Type

boolean (Boolean)

mini Default Value

The default value is:

true

mini Examples

true
false

shape

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

shape

shape Type

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

splashColor

A number in format string or integer

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

splashColor

splashColor Type

merged type (Color)

all of

splashColor Default Value

The default value is:

"0xFF000000"

splashColor Examples

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

tooltip

tooltip

tooltip Type

string (Tooltip)