https://schema.legytma.com.br/1.1.2/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 |
object (Button Theme Data)
| 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
string (Button Bar Layout Behavior)string (Button Bar Layout Behavior)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"constrained" |
|
"padded" |
The default value is:
"padded"
"constrained"
"padded"
Created by Windol [email protected] at 15/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
shape
array or boolean or integer or number or object or string (Dynamic)any of the folllowing: array or boolean or integer or number or object or string (Dynamic)
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
padding
string or object (Edge Insets Geometry)any of the folllowing: string or object (Edge Insets Geometry)
The default value is:
{
"type": "only",
"bottom": 8
}
textTheme
string (Button Text Theme)string (Button Text Theme)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"accent" |
|
"normal" |
|
"primary" |
The default value is:
"normal"
"accent"
"normal"
"primary"
height
string (Button Text Theme)string (Button Text Theme)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"accent" |
|
"normal" |
|
"primary" |
The default value is:
"normal"
"accent"
"normal"
"primary"
A number in format string or integer
Used to identify parser. Every parser can permit only one type
splashColor
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
materialTapTargetSize
string (Material Tap Target Size)string (Material Tap Target Size)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"padded" |
|
"shrinkWrap" |
"padded"
"shrinkWrap"
A number in format string or integer
Used to identify parser. Every parser can permit only one type
hoverColor
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
A number in format string or integer
Used to identify parser. Every parser can permit only one type
highlightColor
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
A number in format string or integer
Used to identify parser. Every parser can permit only one type
focusColor
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
A number in format string or integer
Used to identify parser. Every parser can permit only one type
disabledColor
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
colorScheme
object (Color Scheme)object (Color Scheme)
A number in format string or integer
Used to identify parser. Every parser can permit only one type
buttonColor
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
Define the representation of boolean acceptable.
Used to identify parser. Every parser can permit only one type
alignedDropdown
boolean (Boolean)boolean (Boolean)
The default value is:
true
true
false
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
minWidth
merged type (Double)
one (and only one) of
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
The default value is:
1