-1
I am learning flutter now, and I am making this app very simple and I would like to know how I can centralize these 2 widgets in the center and regardless of the size of the number always stay centered, tried in several ways but I can not at all, follow the code:
All this is inside a Column
Row(children: [
Expanded(
child: RotatedBox(
quarterTurns: 3,
child: Text(
"Pessoas",
style: TextStyle(
color: Colors.white, fontSize: 40.0),
),
),
),
Text(
"$countPeople",
style:
TextStyle(color: Colors.white, fontSize: 150.0),
textAlign: TextAlign.center,
),
]),
Sorry I didn’t explain it very well, but that’s really what you said, I was putting it somewhere else so I wasn’t getting it, but thanks for the help.
– Barney Dulirou