xAlign method

Widget xAlign(
  1. {AlignmentGeometry alignment,
  2. double heightFactor,
  3. Key key,
  4. double widthFactor}
)

Implementation

Widget xAlign(
    {AlignmentGeometry alignment,
    double heightFactor,
    Key key,
    double widthFactor}) {
  return Align(
    alignment: alignment,
    heightFactor: heightFactor,
    key: key,
    widthFactor: widthFactor,
    child: this,
  );
}