TextStyle
A TextStyle controls the appearance of a section of text within a field or method. For example a method name.
- color: The foreground color of the text.
- bold: Whether to draw text in bold.
- italic: Whether to draw text in italic..
- size: The size of text is relative; the options are smallest, smaller, normal, bigger and biggest.
Example:
TextStyle ( Color ( normal 240 240 240 strong 255 255 255) bold largest )
Note the declaration of a Color within the declaration of the TextStyle. A TextStyle forms part of the declaration of a FieldOrMethodDisplayStyle.

|