https://legytma.com.br/schema/widget/card.schema.json
Created by Windol [email protected] at 04/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 | card.schema.json |
object
(Card)
all of
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | string |
Optional | cannot be null | Card |
color | Merged | Optional | cannot be null | Card |
child | object |
Optional | cannot be null | Card |
shape | Unknown Type | Optional | can be null | Card |
elevation | Merged | Optional | cannot be null | Card |
borderOnForeground | boolean |
Optional | cannot be null | Card |
clipBehavior | string |
Optional | cannot be null | Card |
margin | Unknown Type | Optional | cannot be null | Card |
semanticContainer | boolean |
Optional | cannot be null | Card |
Identify the widget type
Used to identify parser. Every parser can permit only one type
type
string
(Type)
constant: the value of this property must be equal to:
"Card"
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
Schema to validation of JSON used to parse Widget.
You can add all valid properties to complete validation.
child
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.
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)
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
Define the representation of boolean acceptable.
Used to identify parser. Every parser can permit only one type
borderOnForeground
boolean
(Boolean)
The default value is:
true
true
false
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)
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 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
margin
string
or object
(Edge Insets Geometry)any of the folllowing: string
or object
(Edge Insets Geometry)
The default value is:
{
"type": "only",
"bottom": 8
}
Define the representation of boolean acceptable.
Used to identify parser. Every parser can permit only one type
semanticContainer
boolean
(Boolean)
The default value is:
true
true
false