x property

double x
inherited

The x coordinate of the display object relative to its parent's coordinate system.

Implementation

double get x {
  return _x;
}
  1. @override
void x=(double? value)
override

Throws an error as the x coordinate of the stage cannot be set.

Implementation

@override
set x(double? value) {
  throw 'Cannot set x-coordinate of stage';
}