title: How to align single widgets in Flutter?
body: <p>I want to align a Flutter widget within its parent. I know that I can center a widget by wrapping it in a Center widget.</p>
  
  <pre><code>  Center(
      child: Text("widget"),
    )
  </code></pre>
  
  <p>But how do I align it to the right, bottom, top middle, etc? </p>
  
  <p><strong>Notes:</strong></p>
  
  <p>I am talking about a single child, not multiple children in a Row or Column. See these SO questions: </p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/50588508/align-text-widgets-on-a-in-a-row-widget">Align Text widgets in a row widget</a></li>
  <li><a href="https://stackoverflow.com/questions/50640161/flutter-right-align-not-working">FLUTTER | Right Align not working</a></li>
  </ul>
  
  <p>This one is on the right track but I am trying to make a more cannonical question:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/52637354/how-to-left-align-the-outlinebutton-icon-in-flutter">How to left align the OutlineButton icon in Flutter</a></li>
  </ul>