CameraArea constructor

CameraArea(
  1. CameraRect rect,
  2. int weight
)

Default constructor for CameraArea.

Implementation

CameraArea(this.rect, this.weight) {
  _channel.$create$(
    this,
    $owner: true,
    rect: rect,
    weight: weight,
  );
}