objectXY method

Align objectXY(
  1. double x,
  2. double y, {
  3. Key? key,
  4. double? heightFactor,
  5. double? widthFactor,
})

Can be used to align a widget to specified x & y.

Implementation

Align objectXY(
  double x,
  double y, {
  Key? key,
  double? heightFactor,
  double? widthFactor,
}) =>
    Align(
      key: key,
      alignment: Alignment(x, y),
      heightFactor: heightFactor,
      widthFactor: widthFactor,
      child: this,
    );