align widget to right flutter code example
Example 1: flutter align top right
Align(
alignment: Alignment.topRight,
child: Text("widget"),
)
Example 2: flutter align text right
Container(
color: Colors.red,
child: Text(...)
)
Align(
alignment: Alignment.topRight,
child: Text("widget"),
)
Container(
color: Colors.red,
child: Text(...)
)