dart-windows / win32

Build Win32 apps with Dart!
https://win32.pub
BSD 3-Clause "New" or "Revised" License
735 stars 118 forks source link

error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' -- please advise how to solve #801

Closed DDXBIZ closed 6 months ago

DDXBIZ commented 6 months ago

I downloaded the package and I'm getting these error?

error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\customtitlebar.dart:520:50 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\customwin.dart:63:50 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\dialogbox.dart:90:48 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\dump.dart:51:55 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\fonts.dart:26:52 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\hello.dart:46:50 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\hooks.dart:196:44 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\hooks.dart:203:50 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\magnifier.dart:35:50 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\magnifier.dart:46:49 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\monitor.dart:96:52 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\notepad\notepad.dart:215:56 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\notepad\notepad.dart:296:50 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\paint.dart:57:50 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\scroll.dart:264:50 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\shell_notify_icon_app.dart:17:48 - new_with_undefined_constructor
error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\snake.dart:544:50 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\tetris\main.dart:26:50 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - example\window.dart:33:54 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - test\window_test.dart:23:52 - new_with_undefined_constructor error - The class 'NativeCallable' doesn't have a constructor named 'isolateLocal' - tool\win32gen\example\whatsleft.dart:49:55 - new_with_undefined_constructor

my windows env is windows 11 pro. 22H2, osbuild 22621.2715

DDXBIZ commented 6 months ago

I think its a DART SDK problem, where i need 3.2