字符串不为空,返回 Text widget,否则返回 null
Text? toTextIfNotEmpty({TextStyle? style}) => isNotEmpty == true ? Text(this, style: style) : null;