fromScalarAsync static method
Implementation
static Future<Mat> fromScalarAsync(int rows, int cols, MatType type, Scalar s) async {
final p = calloc<cvg.Mat>();
return cvRunAsync0(
(callback) => ccore.cv_Mat_create_5(s.ref, rows, cols, type.value, p, callback),
(c) => c.complete(Mat.fromPointer(p)),
);
}