Legytma Schemas

Material App Schema

https://schema.legytma.com.br/1.1.2/schema/widget/material_app.schema.json

Created by Windol windol@legytma.com.br at 12/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 material_app.schema.json

Material App Type

object (Material App)

all of

Material App Properties

Property Type Required Nullable Defined by
type string Required cannot be null Material App
locale object Optional cannot be null Material App
title string Required cannot be null Material App
home object Optional cannot be null Material App
theme object Optional cannot be null Material App
color Merged Optional cannot be null Material App
routes object Optional cannot be null Material App
onUnknownRoute Unknown Type Optional can be null Material App
onGenerateTitle Unknown Type Optional can be null Material App
onGenerateRoute Unknown Type Optional can be null Material App
initialRoute string Optional cannot be null Material App
navigatorObservers Unknown Type Optional can be null Material App
navigatorKey Unknown Type Optional can be null Material App
builder Unknown Type Optional can be null Material App
checkerboardOffscreenLayers boolean Optional cannot be null Material App
checkerboardRasterCacheImages boolean Optional cannot be null Material App
darkTheme object Optional cannot be null Material App
debugShowCheckedModeBanner boolean Optional cannot be null Material App
debugShowMaterialGrid boolean Optional cannot be null Material App
localeListResolutionCallback Unknown Type Optional can be null Material App
localeResolutionCallback Unknown Type Optional can be null Material App
localizationsDelegates Unknown Type Optional can be null Material App
showPerformanceOverlay boolean Optional cannot be null Material App
showSemanticsDebugger boolean Optional cannot be null Material App
supportedLocales Unknown Type Optional can be null Material App
themeMode Merged Optional cannot be null Material App

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:

"MaterialApp"

locale

Locale.

This parser is not implemented, must be assigned using registerLogic

locale

locale Type

object (Locale)

title

title

title Type

string (Title)

home

Schema to validation of JSON used to parse Widget.

You can add all valid properties to complete validation.

home

home Type

object (Widget)

theme

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

theme

theme Type

object (Theme Data)

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

routes

routes

routes Type

object (Routes)

routes Default Value

The default value is:

{}

onUnknownRoute

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

onUnknownRoute

onUnknownRoute Type

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

onUnknownRoute Default Value

The default value is:

"unbounded"

onGenerateTitle

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

onGenerateTitle

onGenerateTitle Type

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

onGenerateTitle Default Value

The default value is:

"unbounded"

onGenerateRoute

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

onGenerateRoute

onGenerateRoute Type

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

onGenerateRoute Default Value

The default value is:

"unbounded"

initialRoute

initialRoute

initialRoute Type

string (Initial Route)

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

navigatorObservers

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

The default value is:

"unbounded"

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

navigatorKey

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

The default value is:

"unbounded"

builder

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

builder

builder Type

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

builder Default Value

The default value is:

"unbounded"

checkerboardOffscreenLayers

Define the representation of boolean acceptable.

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

checkerboardOffscreenLayers

checkerboardOffscreenLayers Type

boolean (Boolean)

checkerboardOffscreenLayers Default Value

The default value is:

true

checkerboardOffscreenLayers Examples

true
false

checkerboardRasterCacheImages

Define the representation of boolean acceptable.

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

checkerboardRasterCacheImages

checkerboardRasterCacheImages Type

boolean (Boolean)

checkerboardRasterCacheImages Default Value

The default value is:

true

checkerboardRasterCacheImages Examples

true
false

darkTheme

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

darkTheme

darkTheme Type

object (Theme Data)

debugShowCheckedModeBanner

Define the representation of boolean acceptable.

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

debugShowCheckedModeBanner

debugShowCheckedModeBanner Type

boolean (Boolean)

debugShowCheckedModeBanner Default Value

The default value is:

true

debugShowCheckedModeBanner Examples

true
false

debugShowMaterialGrid

Define the representation of boolean acceptable.

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

debugShowMaterialGrid

debugShowMaterialGrid Type

boolean (Boolean)

debugShowMaterialGrid Default Value

The default value is:

true

debugShowMaterialGrid Examples

true
false

localeListResolutionCallback

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

localeListResolutionCallback

localeListResolutionCallback Type

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

localeListResolutionCallback Default Value

The default value is:

"unbounded"

localeResolutionCallback

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

localeResolutionCallback

localeResolutionCallback Type

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

localeResolutionCallback Default Value

The default value is:

"unbounded"

localizationsDelegates

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

localizationsDelegates

localizationsDelegates Type

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

localizationsDelegates Default Value

The default value is:

"unbounded"

showPerformanceOverlay

Define the representation of boolean acceptable.

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

showPerformanceOverlay

showPerformanceOverlay Type

boolean (Boolean)

showPerformanceOverlay Default Value

The default value is:

true

showPerformanceOverlay Examples

true
false

showSemanticsDebugger

Define the representation of boolean acceptable.

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

showSemanticsDebugger

showSemanticsDebugger Type

boolean (Boolean)

showSemanticsDebugger Default Value

The default value is:

true

showSemanticsDebugger Examples

true
false

supportedLocales

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

supportedLocales

supportedLocales Type

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

supportedLocales Default Value

The default value is:

"unbounded"

themeMode

Define the representation of double acceptable.

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

themeMode

themeMode Type

merged type (Double)

one (and only one) of

themeMode 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

themeMode Default Value

The default value is:

1