Legytma Schemas

Card Theme Schema

https://legytma.com.br/schema/card_theme.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 card_theme.schema.json

Card Theme Type

object (Card Theme)

Card Theme Properties

Property Type Required Nullable Defined by
shape Unknown Type Optional can be null Card Theme
clipBehavior string Optional cannot be null Card Theme
elevation Merged Optional cannot be null Card Theme
color Merged Optional cannot be null Card Theme
margin Unknown Type Optional cannot be null Card Theme

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)

clipBehavior

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

clipBehavior

clipBehavior Type

string (Clip)

clipBehavior Constraints

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

Value Explanation
"antiAlias"  
"none"  
"hardEdge"  
"antiAliasWithSaveLayer"  

clipBehavior Default Value

The default value is:

"none"

elevation

Define the representation of double acceptable.

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

elevation

elevation Type

merged type (Double)

one (and only one) of

elevation 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

elevation Default Value

The default value is:

1

color

A number in format string or integer

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

color

color Type

merged type (Color)

all of

color Default Value

The default value is:

"0xFF000000"

color Examples

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

margin

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

margin

margin Type

any of the folllowing: string or object (Edge Insets Geometry)

margin Default Value

The default value is:

{
  "type": "only",
  "bottom": 8
}