ClientRect constructor

ClientRect({
  1. num? height,
  2. num? width,
  3. num? x,
  4. num? y,
  5. DOMRect fromRect([
    1. DOMRectInit?
    ])?,
})

Implementation

factory ClientRect({
  _i2.num? height,
  _i2.num? width,
  _i2.num? x,
  _i2.num? y,
  _i3.DOMRect Function([_i3.DOMRectInit?])? fromRect,
}) =>
    ClientRect._(
      height: height,
      width: width,
      x: x,
      y: y,
      fromRect: fromRect == null ? null : _i4.allowInterop(fromRect),
    );