text property

List<TextSpan> text
final

List of TextSpans to be shown in a TalkDialog. Example:

[
  TextSpan(text: 'New'),
  TextSpan(text: ' item ', style: TextStyle(color: Colors.red)),
  TextSpan(text: 'unlocked!'),
]

Implementation

final List<TextSpan> text;