CameraRect constructor

CameraRect({
  1. required int top,
  2. required int bottom,
  3. required int right,
  4. required int left,
})

Default constructor for CameraRect.

left <= right and top <= bottom

Implementation

CameraRect({
  required this.top,
  required this.bottom,
  required this.right,
  required this.left,
}) {
  _channel.$create$(
    this,
    $owner: true,
    top: top,
    bottom: bottom,
    right: right,
    left: left,
  );
}