https://schema.legytma.com.br/2.0.0/schema/widget/animated_container.schema.json
Schema to validation of JSON used to parse Widget.
You can add all valid properties to complete validation.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | animated_container.schema.json |
object (Animated Container Widget)
all of
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| type | string |
Required | cannot be null | Animated Container Widget |
| alignment | string |
Optional | cannot be null | Animated Container Widget |
| padding | Unknown Type | Optional | cannot be null | Animated Container Widget |
| color | Merged | Optional | cannot be null | Animated Container Widget |
| margin | Merged | Optional | cannot be null | Animated Container Widget |
| widthFactor | Merged | Optional | cannot be null | Animated Container Widget |
| heightFactor | Merged | Optional | cannot be null | Animated Container Widget |
| child | object |
Optional | cannot be null | Animated Container Widget |
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:
"AnimatedContainer"
Determine the alignment
Used to identify parser. Every parser can permit only one type
alignment
string (Alignment)string (Alignment)
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"topLeft" |
|
"topCenter" |
|
"topRight" |
|
"centerLeft" |
|
"center" |
|
"centerRight" |
|
"bottomLeft" |
|
"bottomCenter" |
|
"bottomRight" |
The default value is:
"center"
"topLeft"
"topCenter"
"topRight"
"centerLeft"
"center"
"centerRight"
"bottomLeft"
"bottomCenter"
"bottomRight"
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
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
margin
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
widthFactor
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
heightFactor
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
Schema to validation of JSON used to parse Widget.
You can add all valid properties to complete validation.
child
object (Widget)object (Widget)