setTrackbarMax function

void setTrackbarMax(
  1. String trackbarName,
  2. String winName,
  3. int maxval
)

Implementation

void setTrackbarMax(String trackbarName, String winName, int maxval) {
  final cTrackName = trackbarName.toNativeUtf8().cast<ffi.Char>();
  final cwinname = winName.toNativeUtf8().cast<ffi.Char>();
  cvRun(() => chighgui.cv_setTrackbarMax(cTrackName, cwinname, maxval));
  calloc.free(cTrackName);
  calloc.free(cwinname);
}