Answers for "how to align text in center in flutter container"

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 align text in center in flutter container"

Browse Popular Code Answers by Language