giffy_dialog icon indicating copy to clipboard operation
giffy_dialog copied to clipboard

TextAlign doesn't affect the title

Open ArtemKolichenkov opened this issue 5 years ago • 2 comments

TextAlign for title text doesn't do anything, it can be start or end - nothing changes, it always stays in the center. I suggest

  • either remove it from example (since textAlign: TextAlign.center, doesn't affect anything)
  • or handle title alignment properly.

ArtemKolichenkov avatar Nov 03 '19 12:11 ArtemKolichenkov

Seems like an issue with Column's crossAxisAlignment property. This should be overridable using Align widget on the Text (or its parent Padding widget) widget but you will need to translate TextAlign into Alignment.

astralstriker avatar Nov 08 '19 19:11 astralstriker

@ArtemKolichenkov this seems like a bug, thanks for pointing this out. I will fix this once I got time meanwhile, you can work on this if you want.

xsahil03x avatar Nov 08 '19 20:11 xsahil03x