buildText method
Implementation
String buildText() {
var finalText = text;
if (text == null && textKey != null) {
finalText = BaseTextLocale().localize(textKey!);
}
if (finalText == null) {
throw 'Text need a text or textKey';
}
return finalText;
}