class TemplateText


Contains the information required to display a string on a template.

Summary

Public constructors

TemplateText(text: String, type: TextType)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

String

The string to be displayed.

TextType

The TextType of the item, used for styling.

Public constructors

TemplateText

TemplateText(text: String, type: TextType = TextType.Title)
Parameters
text: String

The string to be displayed.

type: TextType = TextType.Title

The TextType of the item, used for styling. Default to TextType.Title.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

text

Added in 1.0.0-alpha06
val textString

The string to be displayed.

type

Added in 1.0.0-alpha06
val typeTextType

The TextType of the item, used for styling. Default to TextType.Title.