Answers for "how to center text inside text widget flutter"

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 "how to center text inside text widget flutter"

Browse Popular Code Answers by Language