Legytma Schemas

Box Decoration Schema

https://legytma.com.br/schema/box_decoration.schema.json

Created by Windol [email protected] at 29/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 box_decoration.schema.json

Box Decoration Type

object (Box Decoration)

any of

Box Decoration Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Box Decoration
shape string Optional cannot be null Box Decoration
border object Optional cannot be null Box Decoration
color Merged Optional cannot be null Box Decoration
backgroundBlendMode string Optional cannot be null Box Decoration
borderRadius object Optional cannot be null Box Decoration
boxShadow array Optional cannot be null Box Decoration
gradient Unknown Type Optional can be null Box Decoration
image object Optional cannot be null Box Decoration

type

Identify the widget type

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

type

type Type

string (Type)

type Constraints

constant: the value of this property must be equal to:

"BoxDecoration"

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

Value Explanation
"BoxDecoration"  
"FlutterLogoDecoration"  
"UnderlineTabIndicator"  
"ShapeDecoration"  

type Examples

"BoxDecoration"
"FlutterLogoDecoration"
"UnderlineTabIndicator"
"ShapeDecoration"

shape

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

shape

shape Type

string (Box Shape)

shape Constraints

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

Value Explanation
"circle"  
"rectangle"  

shape Default Value

The default value is:

"rectangle"

shape Examples

"circle"
"rectangle"

border

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

border

border Type

object (Box Border)

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

backgroundBlendMode

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

backgroundBlendMode

backgroundBlendMode Type

string (Blend Mode)

backgroundBlendMode Constraints

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

Value Explanation
"color"  
"clear"  
"colorBurn"  
"colorDodge"  
"darken"  
"difference"  
"dst"  
"dstATop"  
"dstIn"  
"dstOut"  
"dstOver"  
"exclusion"  
"hardLight"  
"hue"  
"lighten"  
"luminosity"  
"modulate"  
"multiply"  

borderRadius

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

borderRadius

borderRadius Type

object (Border Radius Geometry)

boxShadow

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

boxShadow

boxShadow Type

object[] (Box Shadow)

gradient

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

gradient

gradient Type

any of the folllowing: array or boolean or integer or number or object or string (Dynamic)

image

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

image

image Type

object (Decoration Image)