I thought I understand how these enums work based on this post. When I tried it using the following code, it does not seem to work.
Row(
mainAxisAlignment:
I dont no complatly your problem but i thing your problem solve by this parameter
mainAxisSize: MainAxisSize.min,
so we have:
Row(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.baseline,
mainAxisSize: MainAxisSize.min,
textBaseline: TextBaseline.ideographic,
children: [
Text(
'abcdefg',
style: TextStyle(
fontSize: 50.0, fontWeight: FontWeight.w900),
),
Text(
'hi',
style: TextStyle(fontSize: 15.0),
),
],
),