ClipOption constructor
The clip option is used to clip image.
Implementation
const ClipOption({
this.x = 0,
this.y = 0,
required this.width,
required this.height,
}) : assert(width > 0 && height > 0),
assert(x >= 0, y >= 0);
The clip option is used to clip image.
const ClipOption({
this.x = 0,
this.y = 0,
required this.width,
required this.height,
}) : assert(width > 0 && height > 0),
assert(x >= 0, y >= 0);