alignment property
The place or position of the offset inside the child.
Example:-
PositionedAlign(
x: 10,
y: 10,
alignment: Alignment.center,
child: Container(
color: Colors.red,
width: 100,
height: 100,
),
);
In the above case, at offset from the top-left corner of the Stack, there will be the center of the child.
Implementation
final Alignment alignment;