Text not aligned correctly
Closed this issue · 0 comments
j05u3 commented
When the text is centered like this:
Generated code is:
new Text("Gracias por el trabajo que haces, por favor\nindica tus datos para que poder contactarte.\n\nEsta es una iniciativa ciudadana",
style: TextStyle(
fontFamily: 'Roboto',
color: Color(0xff2e58ff),
fontSize: 14,
fontWeight: FontWeight.w400,
fontStyle: FontStyle.normal,
)
)
I believe it should have textAlign: TextAlign.center,
because the default is TextAlign.start
Maybe we can use this property