Closed iptodays closed 2 years ago
wrap your text with SizedBox and and add width to the sizedBox for me
SizedBox(
width: MediaQuery.of(context).size.width *.8,
child:
Text( longText, ),
),
@iptodays you can try as @khaledMahmoudDev said.
Using MediaQuery here is not a good solution here I think, how do I know for sure that my actions take up the other 20% of the space in this example?
Why doesn't the parent widget for title provide a width constraint?