width property

double width
override

set Height of the Component.

Implementation

final double width;
void width=(double newWidth)
inherited

set Height of the Component.

Implementation

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