Answers for "how tp center text in row flutter"

5

flutter column center horizontal text

Center(
          child: Column(
            mainAxisSize: MainAxisSize.max,
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Text('You are at center!'),
            ],
          ),
        ),
Posted by: Guest on February-20-2021
3

center row content flutter

mainAxisAlignment: MainAxisAlignment.center //Center Row contents horizontally,
crossAxisAlignment: CrossAxisAlignment.center //Center Row contents vertically,
Posted by: Guest on December-02-2020

Browse Popular Code Answers by Language