height property

double height
inherited

The height of the component in local coordinates. Note that the object may visually appear larger or smaller due to application of scale.

Implementation

double get height => _size.y;
  1. @override
void height=(double h)

This property cannot be reassigned at runtime. To make the PositionComponent larger or smaller, change its scale.

Implementation

@override
set height(double h) {
  // Intentionally left empty.
}