Legytma Schemas

App Bar Schema

https://legytma.com.br/schema/widget/app_bar.schema.json

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

App Bar Type

object (App Bar)

all of

App Bar Properties

Property Type Required Nullable Defined by
type string Optional cannot be null App Bar
title object Optional cannot be null App Bar
primary boolean Optional cannot be null App Bar
actions array Optional cannot be null App Bar
actionsIconTheme object Optional cannot be null App Bar
automaticallyImplyLeading boolean Optional cannot be null App Bar
backgroundColor object Optional cannot be null App Bar
bottom Unknown Type Optional can be null App Bar
bottomOpacity Merged Optional cannot be null App Bar
brightness string Optional cannot be null App Bar
centerTitle boolean Optional cannot be null App Bar
elevation Merged Optional cannot be null App Bar
flexibleSpace object Optional cannot be null App Bar
iconTheme object Optional cannot be null App Bar
leading object Optional cannot be null App Bar
shape Unknown Type Optional can be null App Bar
textTheme object Optional cannot be null App Bar
titleSpacing Merged Optional cannot be null App Bar
toolbarOpacity Merged Optional cannot be null App Bar

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:

"AppBar"

title

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

title

title Type

object (Widget)

primary

Define the representation of boolean acceptable.

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

primary

primary Type

boolean (Boolean)

primary Default Value

The default value is:

true

primary Examples

true
false

actions

List of Schema to validation of JSON used to parse Widgets.

You can add any widget inheritance’s.

actions

actions Type

object[] (Widget)

actions Default Value

The default value is:

[]

actionsIconTheme

Icon theme data

This parser is not implemented, must be assigned using registerLogic

actionsIconTheme

actionsIconTheme Type

object (Icon Theme Data)

automaticallyImplyLeading

Define the representation of boolean acceptable.

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

automaticallyImplyLeading

automaticallyImplyLeading Type

boolean (Boolean)

automaticallyImplyLeading Default Value

The default value is:

true

automaticallyImplyLeading Examples

true
false

backgroundColor

Icon theme data

This parser is not implemented, must be assigned using registerLogic

backgroundColor

backgroundColor Type

object (Icon Theme Data)

bottom

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

bottom

bottom Type

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

bottomOpacity

Define the representation of double acceptable.

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

bottomOpacity

bottomOpacity Type

merged type (Double)

one (and only one) of

bottomOpacity 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

bottomOpacity Default Value

The default value is:

1

brightness

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

brightness

brightness Type

string (Brightness)

brightness Constraints

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

Value Explanation
"dark"  
"light"  

centerTitle

Define the representation of boolean acceptable.

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

centerTitle

centerTitle Type

boolean (Boolean)

centerTitle Default Value

The default value is:

true

centerTitle Examples

true
false

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

flexibleSpace

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

flexibleSpace

flexibleSpace Type

object (Widget)

iconTheme

Icon theme data

This parser is not implemented, must be assigned using registerLogic

iconTheme

iconTheme Type

object (Icon Theme Data)

leading

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

leading

leading Type

object (Widget)

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)

textTheme

Text theme

This parser is not implemented, must be assigned using registerLogic

textTheme

textTheme Type

object (Text Theme)

titleSpacing

Define the representation of double acceptable.

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

titleSpacing

titleSpacing Type

merged type (Double)

one (and only one) of

titleSpacing 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

titleSpacing Default Value

The default value is:

1

toolbarOpacity

Define the representation of double acceptable.

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

toolbarOpacity

toolbarOpacity Type

merged type (Double)

one (and only one) of

toolbarOpacity 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

toolbarOpacity Default Value

The default value is:

1