Answers for "flutter center the text in contianer"

5

flutter center text in container

child: Center(
        child: Text(
          "Hello World",
          textAlign: TextAlign.center,
        ),
      ),
Posted by: Guest on March-28-2020
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 "flutter center the text in contianer"

Browse Popular Code Answers by Language