align vs positioned flutter code example
Example 1: flutter align top right
Align(
alignment: Alignment.topRight,
child: Text("widget"),
)
Example 2: flutter float right
Center(
child: Container(
height: 120.0,
width: 120.0,
color: Colors.blue[50],
child: Align(
alignment: Alignment.topRight,
child: FlutterLogo(
size: 60,
),
),
),
)