I have a Flutter Row() with three columns. I want to contents of the middle column 'B' perfectly in the center, no matter how wide the left and right columns are.
Row(children: [Text('AAAAAAAAAA'), Text('B'), Text('C')],
mainAxisAlignment: MainAxisAlignment.spaceEvenly),
This seems like it should be really easy, but the 'B' is too far right.
I've tried wrapping each Text() with Flexible(..., flex:3) thinking it would do 33% 33% and 33%, but that doesn't work.
I wish there was a widget where the first and third columns are somehow constrained/tied together.
I could "cheat" by wrapping the Text() with SizedBox() but that is inflexible.