discontinuedPackage opencv_core has been discontinued and replaced by dartcv4.

right property

int get right

Implementation

int get right => x + width;