height property

double height

Height of the Component.

Implementation

double get height => this.position.height;
void height=(double newHeight)

set Height of the Component.

Implementation

set height(double newHeight) {
  this.position = this.position.copyWith(size: Vector2(width, newHeight));
}