align method

Widget align(
  1. AlignmentGeometry alignment, {
  2. double? widthFactor,
  3. double? heightFactor,
})

Implementation

Widget align(
  AlignmentGeometry alignment, {
  double? widthFactor,
  double? heightFactor,
}) {
  return Align(
    alignment: alignment,
    widthFactor: widthFactor,
    heightFactor: heightFactor,
    child: this,
  );
}