getText method
Implementation
Widget getText() {
if(_text!=null) {
return _text!;
}
Widget text = SizedBox.shrink();
bool hasText = _artDialogArgs.text != null;
if (hasText) {
text = Text(
_artDialogArgs.text!,
textAlign: TextAlign.center,
style: TextStyle(color: Color.fromRGBO(84, 84, 84, 1), fontSize: 14.0),
);
}
text = Container(
margin: EdgeInsets.only(bottom: hasText ? 12.0 : 0.0),
child: text,
);
_text = text;
return text;
}