Alignment
Positioning constants for widget alignment
Named positions for a child inside a Container or a Stack. Corner and edge names (topLeft, centerRight) both work, as do the short edge names top, bottom, leading and trailing.
Properties
topLeftAlignment ›topCenterAlignment ›topRightAlignment ›centerLeftAlignment ›centerAlignment ›centerRightAlignment ›bottomLeftAlignment ›bottomCenterAlignment ›bottomRightAlignment ›topStringbottomStringleadingStringtrailingStringExamples
Alignment values
// Available alignments:
// topLeft, topCenter, topRight
// centerLeft, center, centerRight
// bottomLeft, bottomCenter, bottomRight
Container({
alignment: Alignment.bottomRight,
child: Text("Bottom right")
})