align method
Aligns this widget within the available space.
Directional alignment values require ambient Directionality.
Non-null size factors must be non-negative.
Implementation
Align align(
AlignmentGeometry alignment, {
Key? key,
double? widthFactor,
double? heightFactor,
}) =>
Align(
key: key,
alignment: alignment,
widthFactor: widthFactor,
heightFactor: heightFactor,
child: this,
);