flutter align text left code example
Example 1: how to align text in center in flutter container
Container(
child: Align(
alignment: Alignment.center,
child: Text(
'Some text here',
style: TextStyle(
),
),
),
),
Example 2: flutter align text right
Container(
color: Colors.red,
child: Text(...)
)