title: How to center Column widget horizontally in Flutter
body: <p>I was learning Flutter and wanted to learn to how structure layout. Thus, I decided to use column widget and wanted to ask how to center horizontally column widget having this code: import </p>
  
  <pre><code>'package:flutter/material.dart';
  
  void main() {
    runApp(MyApp());
  }
  
  class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return Container(
        child: MaterialApp(
          home: Scaffold(
              backgroundColor: Colors.teal,
              body: SafeArea(
                  child: Column(
  
                children: &lt;Widget&gt;[
                  CircleAvatar(
                    radius: 50.0,
                    backgroundImage: AssetImage('images/avatar.jpeg'),
                  ),
                  Text('SAM',
                      style: TextStyle(
                          fontFamily: 'Pacifico',
                          fontSize: 50.0,
                          color: Colors.white,
                          fontWeight: FontWeight.bold)),
                  Text('Flutter developer',
                      style: TextStyle(
                          // fontFamily: 'Pacifico',
                          fontSize: 30.0,
                          color: Colors.white,
                          fontWeight: FontWeight.bold))
                ],
              ))),
        ),
      );
    }
  }
  </code></pre>