y property

double y
inherited

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

Implementation

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

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

Implementation

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