discontinuedPackage opencv_core has been discontinued and replaced by dartcv4.

shape property

List<int> get shape

Implementation

List<int> get shape => [rows, cols, channels];