Closed selvam920 closed 2 years ago
Sorry it doen't support web yet
i dont want support web, but app should be build
can it be from this plugin? bcoz many people to download this plugin they will face this issue
I don't think so. Flutter Web or AugularDart are far from popular
Actually I worked on some projects on Flutter Web last year. I don't think it is a good idea to use it now.
Especially on some project depend on USB
If you're interested, you could checkout our other projects and learn how to make it work on Web
I just saying conditional import from plugin side
I just saying conditional import from plugin side
Conditional import
works only with dart.library.io
and dart.library.js
If quick_usb
uses conditional import, there is only empty implementation left -- because ALL of quick_usb
functions are base on dart.library.io
bcoz many people to download this plugin they will face this issue
I don't think Flutter Web or AugularDart is popular enough that many
people would face this issue
If you are interested, you could try WebUSB
I was planning to implement quick_usb_web
via Chrome WebUSB API https://web.dev/usb/
That is another story though
The below plugin we can not use web but when we build the project for web it should. like that i'm asking, you need to include platform interface https://github.com/bitsdojo/bitsdojo_window
Yep. quick_usb_platform_interface
would help.
But it is quite cumbersome to develop and maintain. Checkout change logs and tags of quick_blue and notepad_core
quick_*
series means quick to understand, learn, use and maintain
Forks and PRs are welcome
i'm using this plugin only on android when i'm building the web i'm getting below error.
b-0.3.23-nullsafety.0/lib/libusb64.dart:856:9: Error: 'Pointer' isn't a type. ffi.Pointer transfer,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:868:9:
Error: 'Pointer' isn't a type.
ffi.Pointer transfer,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:882:9:
Error: 'Pointer' isn't a type.
ffi.Pointer transfer,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:894:9:
Error: 'Pointer' isn't a type.
ffi.Pointer dev_handle,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:899:21:
Error: 'Uint8' isn't a type.
ffi.Pointer data,
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:899:9:
Error: 'Pointer' isn't a type.
ffi.Pointer data,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:920:9:
Error: 'Pointer' isn't a type.
ffi.Pointer dev_handle,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:922:21:
Error: 'Uint8' isn't a type.
ffi.Pointer data,
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:922:9:
Error: 'Pointer' isn't a type.
ffi.Pointer data,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:924:21:
Error: 'Int32' isn't a type.
ffi.Pointer actual_length,
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:924:9:
Error: 'Pointer' isn't a type.
ffi.Pointer actual_length,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:942:9:
Error: 'Pointer' isn't a type.
ffi.Pointer dev_handle,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:944:21:
Error: 'Uint8' isn't a type.
ffi.Pointer data,
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:944:9:
Error: 'Pointer' isn't a type.
ffi.Pointer data,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:946:21:
Error: 'Int32' isn't a type.
ffi.Pointer actual_length,
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:946:9:
Error: 'Pointer' isn't a type.
ffi.Pointer actual_length,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:964:9:
Error: 'Pointer' isn't a type.
ffi.Pointer dev_handle,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:966:21:
Error: 'Uint8' isn't a type.
ffi.Pointer data,
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:966:9:
Error: 'Pointer' isn't a type.
ffi.Pointer data,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:983:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:995:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1007:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1019:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1031:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1043:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1056:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1068:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1080:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1081:9:
Error: 'Pointer' isn't a type.
ffi.Pointer tv,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1094:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1095:9:
Error: 'Pointer' isn't a type.
ffi.Pointer tv,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1108:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1109:9:
Error: 'Pointer' isn't a type.
ffi.Pointer tv,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1110:21:
Error: 'Int32' isn't a type.
ffi.Pointer completed,
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1110:9:
Error: 'Pointer' isn't a type.
ffi.Pointer completed,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1126:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1138:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1139:21:
Error: 'Int32' isn't a type.
ffi.Pointer completed,
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1139:9:
Error: 'Pointer' isn't a type.
ffi.Pointer completed,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1153:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1154:9:
Error: 'Pointer' isn't a type.
ffi.Pointer tv,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1167:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1180:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1181:9:
Error: 'Pointer' isn't a type.
ffi.Pointer tv,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1194:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1206:21:
Error: 'Pointer' isn't a type.
ffi.Pointer<ffi.Pointer> pollfds,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1206:9:
Error: 'Pointer' isn't a type.
ffi.Pointer<ffi.Pointer> pollfds,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1218:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1219:21:
Error: 'NativeFunction' isn't a type.
ffi.Pointer<ffi.NativeFunction> added_cb,> added_cb,> removed_cb,> removed_cb, user_data,
^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1221:9:
Error: 'Pointer' isn't a type.
ffi.Pointer user_data,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1269:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1275:21:
Error: 'NativeFunction' isn't a type.
ffi.Pointer<ffi.NativeFunction> cb_fn,> cb_fn, user_data,
^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1276:9:
Error: 'Pointer' isn't a type.
ffi.Pointer user_data,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1277:21:
Error: 'Int32' isn't a type.
ffi.Pointer callback_handle,
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1277:9:
Error: 'Pointer' isn't a type.
ffi.Pointer callback_handle,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1308:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1323:9:
Error: 'Pointer' isn't a type.
ffi.Pointer ctx,
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1701:28:
Error: 'Uint8' isn't a type.
external ffi.Pointer extra;
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1701:16:
Error: 'Pointer' isn't a type.
external ffi.Pointer extra;
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1756:16:
Error: 'Pointer' isn't a type.
external ffi.Pointer endpoint;
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1760:28:
Error: 'Uint8' isn't a type.
external ffi.Pointer extra;
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1760:16:
Error: 'Pointer' isn't a type.
external ffi.Pointer extra;
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1772:16:
Error: 'Pointer' isn't a type.
external ffi.Pointer altsetting;
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1824:16:
Error: 'Pointer' isn't a type.
external ffi.Pointer interface_1;
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1828:28:
Error: 'Uint8' isn't a type.
external ffi.Pointer extra;
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1828:16:
Error: 'Pointer' isn't a type.
external ffi.Pointer extra;
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2023:28:
Error: 'Int8' isn't a type.
external ffi.Pointer rc;
^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2023:16:
Error: 'Pointer' isn't a type.
external ffi.Pointer rc;
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2026:28:
Error: 'Int8' isn't a type.
external ffi.Pointer describe;
^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2026:16:
Error: 'Pointer' isn't a type.
external ffi.Pointer describe;
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/quick
_usb-0.3.0/lib/src/utils.dart:8:29:
Error: 'IntPtr' isn't a type.
final int _maxSize = sizeOf() == 8 ? _kMaxSmi64 : _kMaxSmi32;() == 8 ? _kMaxSmi64 : _kMaxSmi32; result;
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/allocation.dart:91:13:
Error: 'Pointer' isn't a type.
void free(Pointer pointer) {
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/allocation.dart:109:7:
Error: 'Allocator' isn't a type.
const Allocator malloc = _MallocAllocator();
^^^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/allocation.dart:132:5:
Error: 'Pointer' isn't a type.
Pointer result;
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/allocation.dart:157:13:
Error: 'Pointer' isn't a type.
void free(Pointer pointer) {
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/allocation.dart:176:7:
Error: 'Allocator' isn't a type.
const Allocator calloc = _CallocAllocator();
^^^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/arena.dart:26:9:
Error: 'Allocator' isn't a type.
final Allocator _wrappedAllocator;
^^^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/arena.dart:29:22:
Error: 'NativeType' isn't a type.
final List<Pointer> _managedMemoryPointers = [];
^^^^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/arena.dart:29:14:
Error: 'Pointer' isn't a type.
final List<Pointer> _managedMemoryPointers = [];
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/arena.dart:40:10:
Error: 'Allocator' isn't a type.
Arena([Allocator allocator = calloc]) : _wrappedAllocator = allocator; pointer) {}
^^^^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/arena.dart:101:13:
Error: 'Pointer' isn't a type.
void free(Pointer pointer) {}
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/arena.dart:120:6:
Error: 'Allocator' isn't a type.
[Allocator wrappedAllocator = calloc]) {
^^^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/arena.dart:144:6:
Error: 'Allocator' isn't a type.
[Allocator wrappedAllocator = calloc]) {
^^^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf8.dart:26:28:
Error: 'Uint8' isn't a type.
final codeUnits = cast();
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf8.dart:43:28:
Error: 'Uint8' isn't a type.
final codeUnits = cast();
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf8.dart:52:30:
Error: 'Uint8' isn't a type.
static int _length(Pointer codeUnits) {
^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf8.dart:52:22:
Error: 'Pointer' isn't a type.
static int _length(Pointer codeUnits) {
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf8.dart:81:31:
Error: 'Allocator' isn't a type.
Pointer toNativeUtf8({Allocator allocator = malloc}) {
^^^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf8.dart:83:19:
Error: 'Uint8' isn't a type.
final Pointer result = allocator(units.length + 1); result = allocator(units.length + 1); result = allocator(units.length + 1);();
^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf16.dart:43:28:
Error: 'Uint16' isn't a type.
final codeUnits = cast();
^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf16.dart:52:46:
Error: 'Uint16' isn't a type.
static String _toKnownLengthString(Pointer codeUnits, int length) codeUnits, int length) codeUnits) {
^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf16.dart:55:40:
Error: 'Pointer' isn't a type.
static String _toUnknownLengthString(Pointer codeUnits) {
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf16.dart:68:30:
Error: 'Uint16' isn't a type.
static int _length(Pointer codeUnits) {
^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf16.dart:68:22:
Error: 'Pointer' isn't a type.
static int _length(Pointer codeUnits) {
^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf16.dart:93:33:
Error: 'Allocator' isn't a type.
Pointer toNativeUtf16({Allocator allocator = malloc}) {
^^^^^^^^^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1
.1.2/lib/src/utf16.dart:95:19:
Error: 'Uint16' isn't a type.
final Pointer result = allocator(units.length + 1); result = allocator(units.length + 1); result = allocator(units.length + 1); extra;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1705:16:
Error: Only JS interop members may be 'external'.
external int extra_length;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1715:16:
Error: Only JS interop members may be 'external'.
external int bLength;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1721:16:
Error: Only JS interop members may be 'external'.
external int bDescriptorType;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1725:16:
Error: Only JS interop members may be 'external'.
external int bInterfaceNumber;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1729:16:
Error: Only JS interop members may be 'external'.
external int bAlternateSetting;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1734:16:
Error: Only JS interop members may be 'external'.
external int bNumEndpoints;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1738:16:
Error: Only JS interop members may be 'external'.
external int bInterfaceClass;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1743:16:
Error: Only JS interop members may be 'external'.
external int bInterfaceSubClass;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1748:16:
Error: Only JS interop members may be 'external'.
external int bInterfaceProtocol;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1752:16:
Error: Only JS interop members may be 'external'.
external int iInterface;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1756:52:
Error: Only JS interop members may be 'external'.
external ffi.Pointer endpoint;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1760:35:
Error: Only JS interop members may be 'external'.
external ffi.Pointer extra;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1764:16:
Error: Only JS interop members may be 'external'.
external int extra_length;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1772:53:
Error: Only JS interop members may be 'external'.
external ffi.Pointer altsetting;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1777:16:
Error: Only JS interop members may be 'external'.
external int num_altsetting;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1787:16:
Error: Only JS interop members may be 'external'.
external int bLength;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1793:16:
Error: Only JS interop members may be 'external'.
external int bDescriptorType;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1797:16:
Error: Only JS interop members may be 'external'.
external int wTotalLength;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1801:16:
Error: Only JS interop members may be 'external'.
external int bNumInterfaces;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1805:16:
Error: Only JS interop members may be 'external'.
external int bConfigurationValue;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1809:16:
Error: Only JS interop members may be 'external'.
external int iConfiguration;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1813:16:
Error: Only JS interop members may be 'external'.
external int bmAttributes;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1820:16:
Error: Only JS interop members may be 'external'.
external int MaxPower;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1824:42:
Error: Only JS interop members may be 'external'.
external ffi.Pointer interface_1;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1828:35:
Error: Only JS interop members may be 'external'.
external ffi.Pointer extra;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1832:16:
Error: Only JS interop members may be 'external'.
external int extra_length;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1843:16:
Error: Only JS interop members may be 'external'.
external int bLength;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1849:16:
Error: Only JS interop members may be 'external'.
external int bDescriptorType;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1854:16:
Error: Only JS interop members may be 'external'.
external int bMaxBurst;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1861:16:
Error: Only JS interop members may be 'external'.
external int bmAttributes;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1866:16:
Error: Only JS interop members may be 'external'.
external int wBytesPerInterval;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1888:16:
Error: Only JS interop members may be 'external'.
external int bLength;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1894:16:
Error: Only JS interop members may be 'external'.
external int bDescriptorType;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1900:16:
Error: Only JS interop members may be 'external'.
external int bDevCapabilityType;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1907:16:
Error: Only JS interop members may be 'external'.
external int bmAttributes;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1917:16:
Error: Only JS interop members may be 'external'.
external int bLength;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1923:16:
Error: Only JS interop members may be 'external'.
external int bDescriptorType;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1929:16:
Error: Only JS interop members may be 'external'.
external int bDevCapabilityType;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1936:16:
Error: Only JS interop members may be 'external'.
external int bmAttributes;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1941:16:
Error: Only JS interop members may be 'external'.
external int wSpeedSupported;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1948:16:
Error: Only JS interop members may be 'external'.
external int bFunctionalitySupport;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1952:16:
Error: Only JS interop members may be 'external'.
external int bU1DevExitLat;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1956:16:
Error: Only JS interop members may be 'external'.
external int bU2DevExitLat;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1973:16:
Error: Only JS interop members may be 'external'.
external int bmRequestType;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1981:16:
Error: Only JS interop members may be 'external'.
external int bRequest;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1985:16:
Error: Only JS interop members may be 'external'.
external int wValue;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1990:16:
Error: Only JS interop members may be 'external'.
external int wIndex;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:1994:16:
Error: Only JS interop members may be 'external'.
external int wLength;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2008:16:
Error: Only JS interop members may be 'external'.
external int major;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2012:16:
Error: Only JS interop members may be 'external'.
external int minor;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2016:16:
Error: Only JS interop members may be 'external'.
external int micro;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2020:16:
Error: Only JS interop members may be 'external'.
external int nano;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2023:34:
Error: Only JS interop members may be 'external'.
external ffi.Pointer rc;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2026:34:
Error: Only JS interop members may be 'external'.
external ffi.Pointer describe;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2227:16:
Error: Only JS interop members may be 'external'.
external int length;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2231:16:
Error: Only JS interop members may be 'external'.
external int actual_length;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2235:16:
Error: Only JS interop members may be 'external'.
external int status;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2295:16:
Error: Only JS interop members may be 'external'.
external int tv_sec;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2298:16:
Error: Only JS interop members may be 'external'.
external int tv_usec;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2306:16:
Error: Only JS interop members may be 'external'.
external int fd;
^
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus
b-0.3.23-nullsafety.0/lib/libusb64.dart:2313:16:
Error: Only JS interop members may be 'external'.
external int events;
^
Error: Compilation failed.
^^^^^^^^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1219:9: Error: 'Pointer' isn't a type. ffi.Pointer<ffi.NativeFunction
^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1220:21: Error: 'NativeFunction' isn't a type. ffi.Pointer<ffi.NativeFunction
^^^^^^^^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1220:9: Error: 'Pointer' isn't a type. ffi.Pointer<ffi.NativeFunction
^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1221:21: Error: 'Void' isn't a type. ffi.Pointer
^^^^^^^^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1275:9: Error: 'Pointer' isn't a type. ffi.Pointer<ffi.NativeFunction
^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1276:21: Error: 'Void' isn't a type. ffi.Pointer
^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/quick _usb-0.3.0/lib/src/utils.dart:8:22: Error: Method not found: 'sizeOf'. final int _maxSize = sizeOf
^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/allocation.dart:9:7: Error: 'DynamicLibrary' isn't a type. final DynamicLibrary stdlib = Platform.isWindows ^^^^^^^^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/allocation.dart:10:7: Error: Undefined name 'DynamicLibrary'. ? DynamicLibrary.open('kernel32.dll') ^^^^^^^^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/allocation.dart:11:7: Error: Undefined name 'DynamicLibrary'. : DynamicLibrary.process(); ^^^^^^^^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/allocation.dart:31:7: Error: 'Pointer' isn't a type. final Pointer processHeap = winGetProcessHeap(); ^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/allocation.dart:67:5: Error: 'Pointer' isn't a type. Pointer
^^^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/arena.dart:101:21: Error: 'NativeType' isn't a type. void free(Pointer
^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/utf8.dart:83:11: Error: 'Pointer' isn't a type. final Pointer
^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/utf8.dart:83:45: Error: 'Uint8' isn't a type. final Pointer
^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/utf16.dart:26:28: Error: 'Uint16' isn't a type. final codeUnits = cast
=> ^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/utf16.dart:52:38: Error: 'Pointer' isn't a type. static String _toKnownLengthString(Pointer
=> ^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/utf16.dart:55:48: Error: 'Uint16' isn't a type. static String _toUnknownLengthString(Pointer
^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/utf16.dart:95:11: Error: 'Pointer' isn't a type. final Pointer
^^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-1 .1.2/lib/src/utf16.dart:95:46: Error: 'Uint16' isn't a type. final Pointer
^^^^^^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1592:16: Error: Only JS interop members may be 'external'. external int bLength; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1598:16: Error: Only JS interop members may be 'external'. external int bDescriptorType; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1603:16: Error: Only JS interop members may be 'external'. external int bcdUSB; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1607:16: Error: Only JS interop members may be 'external'. external int bDeviceClass; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1612:16: Error: Only JS interop members may be 'external'. external int bDeviceSubClass; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1617:16: Error: Only JS interop members may be 'external'. external int bDeviceProtocol; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1621:16: Error: Only JS interop members may be 'external'. external int bMaxPacketSize0; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1625:16: Error: Only JS interop members may be 'external'. external int idVendor; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1629:16: Error: Only JS interop members may be 'external'. external int idProduct; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1633:16: Error: Only JS interop members may be 'external'. external int bcdDevice; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1637:16: Error: Only JS interop members may be 'external'. external int iManufacturer; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1641:16: Error: Only JS interop members may be 'external'. external int iProduct; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1645:16: Error: Only JS interop members may be 'external'. external int iSerialNumber; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1649:16: Error: Only JS interop members may be 'external'. external int bNumConfigurations; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1659:16: Error: Only JS interop members may be 'external'. external int bLength; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1665:16: Error: Only JS interop members may be 'external'. external int bDescriptorType; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1671:16: Error: Only JS interop members may be 'external'. external int bEndpointAddress; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1680:16: Error: Only JS interop members may be 'external'. external int bmAttributes; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1684:16: Error: Only JS interop members may be 'external'. external int wMaxPacketSize; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1688:16: Error: Only JS interop members may be 'external'. external int bInterval; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1693:16: Error: Only JS interop members may be 'external'. external int bRefresh; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1697:16: Error: Only JS interop members may be 'external'. external int bSynchAddress; ^ /C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/libus b-0.3.23-nullsafety.0/lib/libusb64.dart:1701:35: Error: Only JS interop members may be 'external'. external ffi.Pointer