Reputation: 35
I am wondering what do I have to write to position text so it will not only border left side but also right side.
Container(
padding: EdgeInsets.all(10),
alignment: Alignment.topCenter,
child: Text(
'TEXTTEXT',
style: TextStyle(
color: drbarva,
fontSize: 15,
),
),
)
Upvotes: 1
Views: 55
Reputation: 12595
Try this textAlign: TextAlign.justify
Text(
"this working for me this is working for me",
textAlign: TextAlign.justify,
),
Upvotes: 1