height property

double get height

Height of the Component.

Implementation

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

set Height of the Component.

Implementation

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