I am trying to create a `ListTile` where i want have 2 childs for subtitle. The child should be added only if not null.

```
 ListTile(
      title: Text(attachment.title),
      subtitle: Row(
        children: [
          Text(attachment.prop1), //Add only if prop1 is not null. How??
          Text(attachment.prod2), //Add only if prop2 is not null. How??
        ],
      ),

```

I can do it easily by writing a functions getChildren and then using the following.

```
ListTile(
      title: Text(attachment.title),
      subtitle: Row(
        children: getChildren()
        ,
      ),

```

Was wondering if there is some inline way like the fist approach to do this.