Answers for "how to align left in flutter container"

3

flutter align top right

Align(
  alignment: Alignment.topRight,
  child: Text("widget"),
)
Posted by: Guest on July-27-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
0

Align widget

Center(
  child: Container(
    height: 120.0,
    width: 120.0,
    color: Colors.blue[50],
    child: Align(
      alignment: Alignment(0.5, 0.6),
      child: FlutterLogo(
        size: 60,
      ),
    ),
  ),
)
Posted by: Guest on October-05-2020

Code answers related to "how to align left in flutter container"

Browse Popular Code Answers by Language