title: Creating a list of widgets from map with keys and values
body: <p>If I have say a <code>SimpleDialog()</code> and it accepts <code>children[]</code> and I want to populate it from a <code>Map&lt;int, String&gt;</code>, how would I do that? I need both the key and value to create the child widget.</p>
  
  <pre><code>const optionsMap = {
      111:"First option",
      222:"Second option",
  }
  return SimpleDialog(
      title: Text('Choose one'),
      children: // I don't know what to put here
                // I want to have widgets based on optionsMap keys and values
  )
  </code></pre>
  
  <p>I solved it by creating a <code>List&lt;Widget&gt;</code> beforehand above the return statement, but just for convenience (and becoming better in Dart) I'd like to know if there's a way to do it inline.</p>