setTrackbarMax function
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);
}