Legytma Schemas

Shape Decoration Schema

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

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

Shape Decoration Type

object (Shape Decoration)

any of

Shape Decoration Properties

Property Type Required Nullable Defined by
type string Optional cannot be null Shape Decoration
shape Unknown Type Optional can be null Shape Decoration
color Merged Optional cannot be null Shape Decoration
image object Optional cannot be null Shape Decoration
gradient Unknown Type Optional can be null Shape Decoration
shadows array Optional cannot be null Shape 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:

"ShapeDecoration"

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 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)

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

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)

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)

shadows

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

shadows

shadows Type

object[] (Box Shadow)