title: Flutter, return 2 widgets from class or method
body: <p>I have this hacky/ugly way of return 2 widgets from a function and adding them to a children[...]</p>
  
  <p>The widget being created</p>
  
  <pre><code>List&lt;Widget&gt; _buildTextData() {
    final Text headingText = Text(
      heading,
      style: MyFontStyle.sizeXs,
      overflow: TextOverflow.ellipsis,
    );
    final Text subheadingText = Text(
      subheading,
      style: MyFontStyle.make(fontSize: FontSizes.Xxs, color: MyColor.grey),
    );
  
    ....code
  
    return [headingText, subheadingText];
  }
  </code></pre>
  
  <p>The widgets being added</p>
  
  <pre><code>    children: [
         ...other_widgets
      ]..addAll(_buildTextData())
  </code></pre>
  
  <p>Is there a nicer way to do this without having to call the function inside the <code>..addAll()</code>??</p>