align method
Wraps the widget in an Align widget with the specified alignment.
Implementation
Align align(
Alignment alignment, {
Key? key,
double? heightFactor,
double? widthFactor,
}) => Align(
key: key,
alignment: alignment,
heightFactor: heightFactor,
widthFactor: widthFactor,
child: this,
);