text renders text content. Its children value is required by the JSX type contract and can be
text or nested text nodes. Nested text nodes are combined into one inline string, so you can give
different words different styles. Styles do not inherit from a parent; set the style you need on
each nested text node.
Properties
Example
Nested text
Use nestedtext nodes for inline emphasis, labels, or links represented by text styles:
text descendants participate in the rendered string. Other node types inside text, such
as box, row, column, img, or button, are ignored. Use a row, column, or box when
you need to place non-text content alongside text.
Use maxLines and minLines when the surrounding layout needs predictable text height.