If text is returned and not an empty string, then it is inserted instead of the label.
final String? text;