CanvasRect constructor
CanvasRect({})
Implementation
factory CanvasRect({
void Function(
_i2.num,
_i2.num,
_i2.num,
_i2.num,
)? clearRect,
void Function(
_i2.num,
_i2.num,
_i2.num,
_i2.num,
)? fillRect,
void Function(
_i2.num,
_i2.num,
_i2.num,
_i2.num,
)? strokeRect,
}) =>
CanvasRect._(
clearRect: clearRect == null ? null : _i4.allowInterop(clearRect),
fillRect: fillRect == null ? null : _i4.allowInterop(fillRect),
strokeRect: strokeRect == null ? null : _i4.allowInterop(strokeRect),
);