Legytma Schemas

Button Theme Data Schema

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

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

Button Theme Data Type

object (Button Theme Data)

Button Theme Data Properties

Property Type Required Nullable Defined by
layoutBehavior string Optional cannot be null Button Theme Data
shape Unknown Type Optional can be null Button Theme Data
padding Unknown Type Optional cannot be null Button Theme Data
textTheme string Optional cannot be null Button Theme Data
height string Optional cannot be null Button Theme Data
splashColor Merged Optional cannot be null Button Theme Data
materialTapTargetSize string Optional cannot be null Button Theme Data
hoverColor Merged Optional cannot be null Button Theme Data
highlightColor Merged Optional cannot be null Button Theme Data
focusColor Merged Optional cannot be null Button Theme Data
disabledColor Merged Optional cannot be null Button Theme Data
colorScheme object Optional cannot be null Button Theme Data
buttonColor Merged Optional cannot be null Button Theme Data
alignedDropdown boolean Optional cannot be null Button Theme Data
minWidth Merged Optional cannot be null Button Theme Data

layoutBehavior

layoutBehavior

layoutBehavior Type

string (Button Bar Layout Behavior)

layoutBehavior Constraints

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

Value Explanation
"constrained"  
"padded"  

layoutBehavior Default Value

The default value is:

"padded"

layoutBehavior Examples

"constrained"
"padded"

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)

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
}

textTheme

textTheme

textTheme Type

string (Button Text Theme)

textTheme Constraints

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

Value Explanation
"accent"  
"normal"  
"primary"  

textTheme Default Value

The default value is:

"normal"

textTheme Examples

"accent"
"normal"
"primary"

height

height

height Type

string (Button Text Theme)

height Constraints

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

Value Explanation
"accent"  
"normal"  
"primary"  

height Default Value

The default value is:

"normal"

height Examples

"accent"
"normal"
"primary"

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

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"

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

highlightColor

A number in format string or integer

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

highlightColor

highlightColor Type

merged type (Color)

all of

highlightColor Default Value

The default value is:

"0xFF000000"

highlightColor Examples

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

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

disabledColor

A number in format string or integer

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

disabledColor

disabledColor Type

merged type (Color)

all of

disabledColor Default Value

The default value is:

"0xFF000000"

disabledColor Examples

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

colorScheme

colorScheme

colorScheme Type

object (Color Scheme)

buttonColor

A number in format string or integer

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

buttonColor

buttonColor Type

merged type (Color)

all of

buttonColor Default Value

The default value is:

"0xFF000000"

buttonColor Examples

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

alignedDropdown

Define the representation of boolean acceptable.

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

alignedDropdown

alignedDropdown Type

boolean (Boolean)

alignedDropdown Default Value

The default value is:

true

alignedDropdown Examples

true
false

minWidth

Define the representation of double acceptable.

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

minWidth

minWidth Type

merged type (Double)

one (and only one) of

minWidth 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

minWidth Default Value

The default value is:

1