ClueText constructor
const
ClueText(})
Creates a ClueText.
text
is the main text to display.
isRequired
determines if an asterisk should be appended to the text.
style
is the text style of the main text.
textAlign
specifies the alignment of the text.
targetList
is a list of TargetModels for rich text patterns.
maxLines
specifies the maximum number of lines for the text.
Implementation
const ClueText(
this.text, {
this.isRequired = false,
super.key,
this.style = textStyle,
this.textAlign = TextAlign.start,
this.targetList = const [],
this.maxLines,
});