https://legytma.com.br/schema/widget/text.schema.json
Created by Windol [email protected] at 14/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 | text.schema.json |
object
(Text)
all of
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | string |
Optional | cannot be null | Text |
style | object |
Optional | cannot be null | Text |
maxLines | Unknown Type | Optional | cannot be null | Text |
textDirection | string |
Optional | cannot be null | Text |
strutStyle | object |
Optional | cannot be null | Text |
textAlign | string |
Optional | cannot be null | Text |
locale | object |
Optional | cannot be null | Text |
overflow | string |
Optional | cannot be null | Text |
semanticsLabel | string |
Optional | cannot be null | Text |
softWrap | boolean |
Optional | cannot be null | Text |
textScaleFactor | Merged | Optional | cannot be null | Text |
textWidthBasis | Unknown Type | Optional | can be null | Text |
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:
"Text"
Identify the widget type
Used to identify parser. Every parser can permit only one type
style
object
(Text Style)object
(Text Style)
Define the representation of integer acceptable.
Used to identify parser. Every parser can permit only one type
maxLines
string
or integer
(Integer)any of the folllowing: string
or integer
(Integer)
The default value is:
10
"123"
"#32"
"0b111001"
"$23"
"0x162"
123
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"
Created by Windol [email protected] at 30/04/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
strutStyle
object
(Strut Style)object
(Strut Style)
Determine the text alignment
Used to identify parser. Every parser can permit only one type
textAlign
string
(Text Align)string
(Text Align)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"left" |
|
"right" |
|
"center" |
|
"justify" |
|
"start" |
|
"end" |
"left"
"right"
"center"
"justify"
"start"
"end"
Locale.
This parser is not implemented, must be assigned using registerLogic
locale
object
(Locale)
Identify the widget type
Used to identify parser. Every parser can permit only one type
overflow
string
(Text Overflow)string
(Text Overflow)
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"ellipsis" |
|
"clip" |
|
"fade" |
"ellipsis"
"clip"
"fade"
semanticsLabel
string
(Semantics Label)string
(Semantics Label)
Define the representation of boolean acceptable.
Used to identify parser. Every parser can permit only one type
softWrap
boolean
(Boolean)
The default value is:
true
true
false
Define the representation of double acceptable.
Used to identify parser. Every parser can permit only one type
textScaleFactor
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
Created by Windol [email protected] at 15/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.
textWidthBasis
array
or boolean
or integer
or number
or object
or string
(Dynamic)any of the folllowing: array
or boolean
or integer
or number
or object
or string
(Dynamic)
The default value is:
"unbounded"