BaseCrop constructor
BaseCrop({
- Dimensions? dimensions,
- bool? relative,
- bool? regionRelative,
- Gravity? gravityValue,
- dynamic zoomValue,
- dynamic xValue,
- dynamic yValue,
Crop constructor
Receives Dimensions,
relative
,
relativeRegion
,
gravity,
zoom,
x,
y
Implementation
BaseCrop(
{super.dimensions,
super.relative,
super.regionRelative,
Gravity? gravityValue,
dynamic zoomValue,
dynamic xValue,
dynamic yValue}) {
if (gravityValue != null) {
gravity(gravityValue);
}
if (zoomValue != null) {
zoom(zoomValue);
}
if (xValue != null) {
x(xValue);
}
if (yValue != null) {
y(yValue);
}
}