https://legytma.com.br/schema/widget/icon.schema.json
Created by Windol [email protected] at 09/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 | icon.schema.json |
object
(Icon)
all of
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | string |
Optional | cannot be null | Icon |
icon | object |
Required | cannot be null | Icon |
color | Merged | Optional | cannot be null | Icon |
semanticLabel | string |
Optional | cannot be null | Icon |
size | Merged | Optional | cannot be null | Icon |
textDirection | string |
Optional | cannot be null | Icon |
Identify the widget type
Used to identify parser. Every parser can permit only one type
type
string
(Type)
constant: the value of this property must be equal to:
"Icon"
Created by Windol [email protected] at 09/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
icon
object
(Icon Data)
A number in format string or integer
Used to identify parser. Every parser can permit only one type
color
merged type (Color)
all of
The default value is:
"0xFF000000"
"#FFFFFFFF"
"0xFFFFFFFF"
"4294967295"
4294967295
semanticLabel
string
(Semantic Label)string
(Semantic Label)
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
size
merged type (Double)
one (and only one) of
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
The default value is:
1
Determine the text direction.
Used to identify parser. Every parser can permit only one type
textDirection
string
(Text Direction)string
(Text Direction)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"ltr" |
|
"rtl" |
"ltr"
"rtl"