https://legytma.com.br/schema/widget/raised_button.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 | raised_button.schema.json |
object
(Raised Button)
all of
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | string |
Optional | cannot be null | Raised Button |
onLongPress | Unknown Type | Optional | can be null | Raised Button |
clipBehavior | string |
Optional | cannot be null | Raised Button |
shape | Unknown Type | Optional | can be null | Raised Button |
focusNode | object |
Optional | cannot be null | Raised Button |
autofocus | boolean |
Optional | cannot be null | Raised Button |
focusColor | Merged | Optional | cannot be null | Raised Button |
highlightColor | Merged | Optional | cannot be null | Raised Button |
hoverColor | Merged | Optional | cannot be null | Raised Button |
textTheme | string |
Optional | cannot be null | Raised Button |
animationDuration | Merged | Optional | cannot be null | Raised Button |
colorBrightness | string |
Optional | cannot be null | Raised Button |
focusElevation | Merged | Optional | cannot be null | Raised Button |
highlightElevation | Merged | Optional | cannot be null | Raised Button |
hoverElevation | Merged | Optional | cannot be null | Raised Button |
materialTapTargetSize | string |
Optional | cannot be null | Raised Button |
onHighlightChanged | Unknown Type | Optional | can be null | Raised Button |
color | Merged | Optional | cannot be null | Raised Button |
disabledColor | Merged | Optional | cannot be null | Raised Button |
disabledElevation | Merged | Optional | cannot be null | Raised Button |
disabledTextColor | Merged | Optional | cannot be null | Raised Button |
elevation | Merged | Optional | cannot be null | Raised Button |
padding | Unknown Type | Optional | cannot be null | Raised Button |
splashColor | Merged | Optional | cannot be null | Raised Button |
textColor | Merged | Optional | cannot be null | Raised Button |
child | object |
Optional | cannot be null | Raised Button |
onPressed | Unknown Type | Optional | can be null | Raised Button |
Identify the widget type
Used to identify parser. Every parser can permit only one type
type
string
(Type)string
(Type)
constant: the value of this property must be equal to:
"RaisedButton"
Created by Windol [email protected] at 15/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
onLongPress
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)
The default value is:
"unbounded"
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
clipBehavior
string
(Clip)string
(Clip)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"antiAlias" |
|
"none" |
|
"hardEdge" |
|
"antiAliasWithSaveLayer" |
The default value is:
"none"
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)
The default value is:
"unbounded"
Created by Windol [email protected] at 27/04/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
focusNode
object
(Focus Node)object
(Focus Node)
Define the representation of boolean acceptable.
Used to identify parser. Every parser can permit only one type
autofocus
boolean
(Boolean)boolean
(Boolean)
The default value is:
true
true
false
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
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
hoverColor
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
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"
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
animationDuration
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
Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
colorBrightness
string
(Brightness)string
(Brightness)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"dark" |
|
"light" |
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
focusElevation
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
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
highlightElevation
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
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
hoverElevation
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
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"
Created by Windol [email protected] at 15/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
onHighlightChanged
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)
The default value is:
"unbounded"
A number in format string or integer
Used to identify parser. Every parser can permit only one type
color
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
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
disabledElevation
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
A number in format string or integer
Used to identify parser. Every parser can permit only one type
disabledTextColor
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
elevation
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
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
}
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
A number in format string or integer
Used to identify parser. Every parser can permit only one type
textColor
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
Schema to validation of JSON used to parse Widget.
You can add all valid properties to complete validation.
child
object
(Widget)object
(Widget)
Created by Windol [email protected] at 15/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
onPressed
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)
The default value is:
"unbounded"