align method

Widget align(
  1. AlignmentGeometry alignment, {
  2. Key? key,
})

对齐

Implementation

Widget align(
  AlignmentGeometry alignment, {
  Key? key,
}) =>
    Align(
      key: key,
      alignment: alignment,
      child: this,
    );