Answers for "text center justify flutter"

5

flutter center text in container

child: Center(
        child: Text(
          "Hello World",
          textAlign: TextAlign.center,
        ),
      ),
Posted by: Guest on March-28-2020
0

text justify in flutter

Container(
                width: MediaQuery.of(context).size.width, 
                margin: EdgeInsets.only(bottom: 10),
                padding: EdgeInsets.all(10),
                child: Align(
                  alignment: Alignment.centerLeft,
                  child: Text(Strings.privacy, style: TextStyle(
                    color: Colors.black87,
                    fontSize: 15,
                    letterSpacing: 1.4,
                  ),

                  ),
                ),
              );
Posted by: Guest on April-05-2021

Browse Popular Code Answers by Language