Answers for "align text in center of texr field flutter"

2

textfield align center flutter

TextField(
   textAlign: TextAlign.center,
   decoration: InputDecoration(
     hintText: "Centered Hint",
   ),
)
Posted by: Guest on September-06-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 "align text in center of texr field flutter"

Browse Popular Code Answers by Language