Answers for "how to center text in column flutter"

5

flutter column center horizontal text

Center(
          child: Column(
            mainAxisSize: MainAxisSize.max,
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Text('You are at center!'),
            ],
          ),
        ),
Posted by: Guest on February-20-2021
0

how to align text in center in flutter container

Container(
        child: Align(
          alignment: Alignment.center,
          child: Text(
            'Some text here',
            style: TextStyle(

            ),
          ),
        ),
      ),
Posted by: Guest on December-19-2020

Code answers related to "how to center text in column flutter"

Browse Popular Code Answers by Language