Description
重现代码main.dart:
import 'package:flutter/material.dart';
import 'package:kraken/kraken.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@OverRide
Widget build(BuildContext context) {
Kraken kraken = Kraken(bundleURL: 'https://raw.githubusercontent.com/openkraken/kraken/master/kraken/example/assets/bundle.js',);
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: kraken,
);
}
}
出现的问题:
Failed to build iOS app
Error output from Xcode build:
↳
2021-06-12 19:51:37.407 xcodebuild[23612:196611] CFURLRequestSetHTTPCookieStorageAcceptPolicy_block_invoke: no longer implemented and should not be called
2021-06-12 19:51:37.536 xcodebuild[23612:196256] DVTAssertions: Warning in
/Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-18108/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
Details: (null) deviceType from 656fc0285122788a5c7733ad49d4832161b2ebe0 was NULL when -platform called.
Object: <DTDKMobileDeviceToken: 0x7fc548cec1e0>
Method: -platform
Thread: <NSThread: 0x7fc548d4ab70>{number = 4, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2021-06-12 19:51:38.340 xcodebuild[23612:196611] DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7fc548cfe370; action='viewDeveloper'>' encountered an unexpected result code from the
portal ('1100')
2021-06-12 19:51:38.340 xcodebuild[23612:196611] DVTPortal: Error:
Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in." UserInfo={payload={
creationTimestamp = "2021-06-12T11:51:38Z";
httpCode = 200;
protocolVersion = QH65B2;
requestUrl = "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action";
responseId = "34d510bb-42bf-498b-9d99-a460b3048118";
resultCode = 1100;
resultString = "Your session has expired. Please log in.";
userLocale = "en_US";
userString = "Your session has expired. Please log in.";
}, NSLocalizedDescription=Your session has expired. Please log in.}
2021-06-12 19:51:40.341 xcodebuild[23612:196611] DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7fc54975fba0; action='viewDeveloper'>' encountered an unexpected result code from the
portal ('1100')
2021-06-12 19:51:40.341 xcodebuild[23612:196611] DVTPortal: Error:
Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in." UserInfo={payload={
creationTimestamp = "2021-06-12T11:51:40Z";
httpCode = 200;
protocolVersion = QH65B2;
requestUrl = "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action";
responseId = "d4f2246d-d202-47d1-91d5-0059d8ee7d0e";
resultCode = 1100;
resultString = "Your session has expired. Please log in.";
userLocale = "en_US";
userString = "Your session has expired. Please log in.";
}, NSLocalizedDescription=Your session has expired. Please log in.}
2021-06-12 19:51:41.495 xcodebuild[23612:196611] DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7fc54947d4c0; action='viewDeveloper'>' encountered an unexpected result code from the
portal ('1100')
2021-06-12 19:51:41.495 xcodebuild[23612:196611] DVTPortal: Error:
Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in." UserInfo={payload={
creationTimestamp = "2021-06-12T11:51:41Z";
httpCode = 200;
protocolVersion = QH65B2;
requestUrl = "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action";
responseId = "d707a854-0b91-4576-a8cc-5ed0a7ccbcf2";
resultCode = 1100;
resultString = "Your session has expired. Please log in.";
userLocale = "en_US";
userString = "Your session has expired. Please log in.";
}, NSLocalizedDescription=Your session has expired. Please log in.}
2021-06-12 19:51:42.686 xcodebuild[23612:196611] DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7fc54970e8b0; action='viewDeveloper'>' encountered an unexpected result code from the
portal ('1100')
2021-06-12 19:51:42.686 xcodebuild[23612:196611] DVTPortal: Error:
Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in." UserInfo={payload={
creationTimestamp = "2021-06-12T11:51:42Z";
httpCode = 200;
protocolVersion = QH65B2;
requestUrl = "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action";
responseId = "b96b558c-7ee9-41b4-8cc8-b11427921c27";
resultCode = 1100;
resultString = "Your session has expired. Please log in.";
userLocale = "en_US";
userString = "Your session has expired. Please log in.";
}, NSLocalizedDescription=Your session has expired. Please log in.}
2021-06-12 19:51:43.846 xcodebuild[23612:196611] DVTPortal: Service '<DVTPortalViewDeveloperService: 0x7fc549813f10; action='viewDeveloper'>' encountered an unexpected result code from the
portal ('1100')
2021-06-12 19:51:43.846 xcodebuild[23612:196611] DVTPortal: Error:
Error Domain=DVTPortalServiceErrorDomain Code=1100 "Your session has expired. Please log in." UserInfo={payload={
creationTimestamp = "2021-06-12T11:51:43Z";
httpCode = 200;
protocolVersion = QH65B2;
requestUrl = "https://developerservices2.apple.com/services/QH65B2/viewDeveloper.action";
responseId = "6d921b16-a19f-41d7-8304-16eee03368f1";
resultCode = 1100;
resultString = "Your session has expired. Please log in.";
userLocale = "en_US";
userString = "Your session has expired. Please log in.";
}, NSLocalizedDescription=Your session has expired. Please log in.}
** BUILD FAILED **
Xcode's output:
↳
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/kraken-0.7.3+2/lib/src/dom/elements/input.dart:56:7: Error: The non-abstract class 'EditableTextDelegate' is missing implementations for
these members:
- TextSelectionDelegate.userUpdateTextEditingValue
Try to either
- provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.
class EditableTextDelegate implements TextSelectionDelegate {
^^^^^^^^^^^^^^^^^^^^
../../../../flutter/packages/flutter/lib/src/services/text_input.dart:822:8: Context: 'TextSelectionDelegate.userUpdateTextEditingValue' is defined here.
void userUpdateTextEditingValue(TextEditingValue value, SelectionChangedCause cause);
^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/kraken-0.7.3+2/lib/src/gesture/scroll_position_with_single_context.dart:37:7: Error: The non-abstract class
'ScrollPositionWithSingleContext' is missing implementations for these members:
- ViewportOffset.hasPixels
Try to either
- provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.
class ScrollPositionWithSingleContext extends ScrollPosition implements ScrollActivityDelegate {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../flutter/packages/flutter/lib/src/rendering/viewport_offset.dart:96:12: Context: 'ViewportOffset.hasPixels' is defined here.
bool get hasPixels;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/kraken-0.7.3+2/lib/src/dom/elements/input.dart:67:8: Error: The method 'EditableTextDelegate.hideToolbar' has fewer positional arguments
than those of overridden method 'TextSelectionDelegate.hideToolbar'.
void hideToolbar() {
^
../../../../flutter/packages/flutter/lib/src/services/text_input.dart:829:8: Context: This is the overridden method ('hideToolbar').
void hideToolbar([bool hideHandles = true]);
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-0.1.3/lib/src/utf8.dart:63:33: Error: The getter 'addressOf' isn't defined for the class 'Utf8'.
- 'Utf8' is from 'package:ffi/src/utf8.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-0.1.3/lib/src/utf8.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
String toString() => fromUtf8(addressOf);
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/path_provider_windows-0.0.4+3/lib/src/path_provider_windows_real.dart:126:25: Error: The getter 'addressOf' isn't defined for the class
'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
knownFolderID.addressOf, KF_FLAG_DEFAULT, NULL, pathPtrPtr);
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:1067:7: Error: The getter 'addressOf' isn't defined for the class 'LOGFONT'.
- 'LOGFONT' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
addressOf.cast<Uint8>().elementAt(28).cast<Utf16>();
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:1112:29: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
- 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
LOGFONT get elfLogFont => addressOf.cast<LOGFONT>().ref;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:1114:29: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
- 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
String get elfFullName => addressOf
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:1120:26: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
- 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
String get elfStyle => addressOf
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:1126:27: Error: The getter 'addressOf' isn't defined for the class 'ENUMLOGFONTEX'.
- 'ENUMLOGFONTEX' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
String get elfScript => addressOf
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2688:7: Error: The getter 'addressOf' isn't defined for the class 'OSVERSIONINFO'.
- 'OSVERSIONINFO' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
addressOf.cast<Uint8>().elementAt(20).cast<Utf16>().unpackString(128);
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2699:11: Error: The getter 'addressOf' isn't defined for the class 'OSVERSIONINFO'.
- 'OSVERSIONINFO' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
..addressOf.cast<Uint8>().elementAt(20).value = 0;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2744:24: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_DEVICE_INFO'.
- 'BLUETOOTH_DEVICE_INFO' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
String get szName => addressOf
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2837:7: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
- 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
addressOf.cast<Uint8>().elementAt(BTH_MAX_PIN_SIZE).value;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2840:5: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
- 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
addressOf.cast<Uint8>().elementAt(BTH_MAX_PIN_SIZE).value =
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2845:28: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
- 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
String.fromCharCodes(addressOf.cast<Uint8>().asTypedList(pinLength));
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2853:7: Error: The getter 'addressOf' isn't defined for the class 'BLUETOOTH_PIN_INFO'.
- 'BLUETOOTH_PIN_INFO' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
addressOf.cast<Uint8>().elementAt(idx).value = pinData[idx];
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/com/combase.dart:38:31: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
final iid = GUID.allocate().addressOf;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/com/combase.dart:56:33: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
final clsid = GUID.allocate().addressOf;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/winrt/winrt_helpers.dart:86:40: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
final riidCalendar = GUID.allocate().addressOf;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IDesktopWallpaper.dart:197:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
- 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/com/combase.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
final ptr = COMObject.allocate().addressOf;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IDesktopWallpaper.dart:200:49: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
GUID.fromString(CLSID_DesktopWallpaper).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IDesktopWallpaper.dart:203:48: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
GUID.fromString(IID_IDesktopWallpaper).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IFileOpenDialog.dart:58:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
- 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/com/combase.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
final ptr = COMObject.allocate().addressOf;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IFileOpenDialog.dart:61:47: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
GUID.fromString(CLSID_FileOpenDialog).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IFileOpenDialog.dart:64:46: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
GUID.fromString(IID_IFileOpenDialog).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IFileSaveDialog.dart:99:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
- 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/com/combase.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
final ptr = COMObject.allocate().addressOf;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IFileSaveDialog.dart:102:47: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
GUID.fromString(CLSID_FileSaveDialog).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IFileSaveDialog.dart:105:46: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
GUID.fromString(IID_IFileSaveDialog).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IKnownFolderManager.dart:164:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
- 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/com/combase.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
final ptr = COMObject.allocate().addressOf;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IKnownFolderManager.dart:167:51: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
GUID.fromString(CLSID_KnownFolderManager).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IKnownFolderManager.dart:170:50: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
GUID.fromString(IID_IKnownFolderManager).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/INetworkListManager.dart:128:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
- 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/com/combase.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
final ptr = COMObject.allocate().addressOf;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/INetworkListManager.dart:131:51: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
GUID.fromString(CLSID_NetworkListManager).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/INetworkListManager.dart:134:50: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
GUID.fromString(IID_INetworkListManager).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IWbemLocator.dart:82:38: Error: The getter 'addressOf' isn't defined for the class 'COMObject'.
- 'COMObject' is from 'package:win32/src/com/combase.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/com/combase.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
final ptr = COMObject.allocate().addressOf;
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IWbemLocator.dart:84:68: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
final hr = CoCreateInstance(GUID.fromString(CLSID_WbemLocator).addressOf,
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/generated/IWbemLocator.dart:85:64: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
- 'GUID' is from 'package:win32/src/structs.dart' ('../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
nullptr, CLSCTX_ALL, GUID.fromString(IID_IWbemLocator).addressOf, ptr);
^^^^^^^^^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/kraken-0.7.3+2/lib/src/bridge/from_native.dart:260:7: Error: Struct 'ScreenSize' is empty. Empty structs are undefined behavior.
class ScreenSize extends Struct {}
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/kraken-0.7.3+2/lib/src/bridge/native_types.dart:10:7: Error: Struct 'JSCallbackContext' is empty. Empty structs are undefined behavior.
class JSCallbackContext extends Struct {}
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-0.1.3/lib/src/utf8.dart:23:7: Error: Struct 'Utf8' is empty. Empty structs are undefined behavior.
class Utf8 extends Struct {
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-0.1.3/lib/src/utf16.dart:16:7: Error: Struct 'Utf16' is empty. Empty structs are undefined behavior.
class Utf16 extends Struct {
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:1111:7: Error: Struct 'ENUMLOGFONTEX' is empty. Empty structs are undefined behavior.
class ENUMLOGFONTEX extends Struct {
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2835:7: Error: Struct 'BLUETOOTH_PIN_INFO' is empty. Empty structs are undefined behavior.
class BLUETOOTH_PIN_INFO extends Struct {
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2960:7: Error: Struct 'EXCEPINFO' is empty. Empty structs are undefined behavior.
class EXCEPINFO extends Struct {}
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2966:7: Error: Struct 'PROPERTYKEY' is empty. Empty structs are undefined behavior.
class PROPERTYKEY extends Struct {}
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2973:7: Error: Struct 'PROPVARIANT' is empty. Empty structs are undefined behavior.
class PROPVARIANT extends Struct {}
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2978:7: Error: Struct 'SAFEARRAY' is empty. Empty structs are undefined behavior.
class SAFEARRAY extends Struct {}
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2985:7: Error: Struct 'CLSID' is empty. Empty structs are undefined behavior.
class CLSID extends Struct {}
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2992:7: Error: Struct 'STATSTG' is empty. Empty structs are undefined behavior.
class STATSTG extends Struct {}
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/win32-1.7.4+1/lib/src/structs.dart:2999:7: Error: Struct 'NLM_SIMULATED_PROFILE_INFO' is empty. Empty structs are undefined behavior.
class NLM_SIMULATED_PROFILE_INFO extends Struct {}
^
../../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/ffi-0.1.3/lib/src/allocation.dart:47:33: Error: Expected type 'T' to be a valid and instantiated subtype of 'NativeType'.
final int totalSize = count * sizeOf<T>();
^
Command PhaseScriptExecution failed with a nonzero exit code