I have a Row with two Text widgets in it:
Card(...
Padding(...
Column(...
Padding(...
Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text('Text'),
Text('Long text'),
],
...
The output is something like this:
+----------------------------+
Text Long text
+----------------------------+
If the second text is larger than the available space, I want something like this:
+----------------------------+
Text Loooooooooooooooooooong
texttttttttttt
+----------------------------+
but I get overflow error:
+----------------------------+
Text Loooooooooooooooooooong texttttttttttt
+----------------------------+
What should I do?