Code Monkey home page Code Monkey logo

gallery's People

Contributors

andycall avatar answershuto avatar cnryb avatar wssgcg1213 avatar yuanyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gallery's Issues

构建失败

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/flutter/packages/flutter/lib/src/services/text_input.dart:822:8: Context: 'TextSelectionDelegate.userUpdateTextEditingValue' is defined here.
void userUpdateTextEditingValue(TextEditingValue value, SelectionChangedCause cause);
^^^^^^^^^^^^^^^^^^^^^^^^^^
../../flutter/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/flutter/packages/flutter/lib/src/rendering/viewport_offset.dart:96:12: Context: 'ViewportOffset.hasPixels' is defined here.
bool get hasPixels;
^^^^^^^^^
../../flutter/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/flutter/packages/flutter/lib/src/services/text_input.dart:829:8: Context: This is the overridden method ('hideToolbar').
void hideToolbar([bool hideHandles = true]);
^
../../flutter/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/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/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/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/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/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().elementAt(28).cast();
    ^^^^^^^^^
    ../../flutter/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/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().ref;
    ^^^^^^^^^
    ../../flutter/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/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/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/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/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/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/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/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().elementAt(20).cast().unpackString(128);
    ^^^^^^^^^
    ../../flutter/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/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().elementAt(20).value = 0;
    ^^^^^^^^^
    ../../flutter/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/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/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/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().elementAt(BTH_MAX_PIN_SIZE).value;
    ^^^^^^^^^
    ../../flutter/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/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().elementAt(BTH_MAX_PIN_SIZE).value =
    ^^^^^^^^^
    ../../flutter/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/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().asTypedList(pinLength));
    ^^^^^^^^^
    ../../flutter/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/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().elementAt(idx).value = pinData[idx];
    ^^^^^^^^^
    ../../flutter/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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();
    ^

FAILURE: Build failed with an exception.

所有二级页面都打不开

E/flutter (24045): #1      AssetsBundle.resolve (package:kraken/src/launcher/bundle.dart:190:22)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #2      KrakenBundle.getBundle (package:kraken/src/launcher/bundle.dart:69:5)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #3      KrakenController.loadBundle (package:kraken/src/launcher/controller.dart:707:17)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #4      _KrakenRenderObjectElement.mount (package:kraken/widget.dart:907:5)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045):
I/flutter (24045): Kraken getting bundle for contextId: 1, path: demos/todomvc/build/kraken/index.js
E/flutter (24045): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Unable to load asset: demos/gallery/build/kraken/demos/todomvc/build/kraken/index.js
E/flutter (24045): #0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:224:7)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #1      AssetsBundle.resolve (package:kraken/src/launcher/bundle.dart:190:22)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #2      KrakenBundle.getBundle (package:kraken/src/launcher/bundle.dart:69:5)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #3      KrakenController.loadBundle (package:kraken/src/launcher/controller.dart:707:17)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #4      _KrakenRenderObjectElement.mount (package:kraken/widget.dart:907:5)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045):
I/flutter (24045): Kraken getting bundle for contextId: 1, path: demos/order/build/kraken/index.js
E/flutter (24045): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Unable to load asset: demos/gallery/build/kraken/demos/order/build/kraken/index.js
E/flutter (24045): #0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:224:7)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #1      AssetsBundle.resolve (package:kraken/src/launcher/bundle.dart:190:22)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #2      KrakenBundle.getBundle (package:kraken/src/launcher/bundle.dart:69:5)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #3      KrakenController.loadBundle (package:kraken/src/launcher/controller.dart:707:17)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #4      _KrakenRenderObjectElement.mount (package:kraken/widget.dart:907:5)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045):
I/flutter (24045): Kraken getting bundle for contextId: 1, path: demos/anime/build/kraken/index.js
E/flutter (24045): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Unable to load asset: demos/gallery/build/kraken/demos/anime/build/kraken/index.js
E/flutter (24045): #0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:224:7)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #1      AssetsBundle.resolve (package:kraken/src/launcher/bundle.dart:190:22)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #2      KrakenBundle.getBundle (package:kraken/src/launcher/bundle.dart:69:5)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #3      KrakenController.loadBundle (package:kraken/src/launcher/controller.dart:707:17)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #4      _KrakenRenderObjectElement.mount (package:kraken/widget.dart:907:5)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045):
I/flutter (24045): Kraken getting bundle for contextId: 1, path: demos/anime/build/kraken/index.js
E/flutter (24045): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Unable to load asset: demos/gallery/build/kraken/demos/anime/build/kraken/index.js
E/flutter (24045): #0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:224:7)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #1      AssetsBundle.resolve (package:kraken/src/launcher/bundle.dart:190:22)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #2      KrakenBundle.getBundle (package:kraken/src/launcher/bundle.dart:69:5)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #3      KrakenController.loadBundle (package:kraken/src/launcher/controller.dart:707:17)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045): #4      _KrakenRenderObjectElement.mount (package:kraken/widget.dart:907:5)
E/flutter (24045): <asynchronous suspension>
E/flutter (24045):

求助,工程编译不通过,目前kraken 和flutter环境正常,能运行其它flutter工程。

• Flutter version 2.11.0-0.0.pre.716 at /Users/xieyutuo/Desktop/soft/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision e85ba6eeae (2 hours ago), 2022-02-28 23:31:20 -0800
• Engine revision 615a60512c
• Dart version 2.17.0 (build 2.17.0-150.0.dev)
• DevTools version 2.11.1

../../../.pub-cache/hosted/pub.flutter-io.cn/kraken-0.9.0/lib/widget.dart:584:44: Error: Type 'MoveSelectionRightByLineTextIntent' not found.
void _handleMoveSelectionRightByLineText(MoveSelectionRightByLineTextIntent intent) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/kraken-0.9.0/lib/widget.dart:593:43: Error: Type 'MoveSelectionLeftByLineTextIntent' not found.
void _handleMoveSelectionLeftByLineText(MoveSelectionLeftByLineTextIntent intent) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/kraken-0.9.0/lib/widget.dart:602:44: Error: Type 'MoveSelectionRightByWordTextIntent' not found.
void _handleMoveSelectionRightByWordText(MoveSelectionRightByWordTextIntent intent) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/kraken-0.9.0/lib/widget.dart:611:43: Error: Type 'MoveSelectionLeftByWordTextIntent' not found.
void _handleMoveSelectionLeftByWordText(MoveSelectionLeftByWordTextIntent intent) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/kraken-0.9.0/lib/widget.dart:620:35: Error: Type 'MoveSelectionUpTextIntent' not found.
void _handleMoveSelectionUpText(MoveSelectionUpTextIntent intent) {
^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/kraken-0.9.0/lib/widget.dart:629:37: Error: Type 'MoveSelectionDownTextIntent' not found.
void _handleMoveSelectionDownText(MoveSelectionDownTextIntent intent) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../.pub-cache/hosted/pub.flutter-io.cn/kraken-0.9.0/lib/widget.dart:638:37: Error: Type 'MoveSelectionLeftTextIntent' not found.

Release模式运行报错

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:lintVitalRelease'.

Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'.
Failed to transform libs.jar to match attributes {artifactType=processed-jar, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JetifyTransform: /Users/chenzefeng/Development/kraken-gallery/build/app/intermediates/flutter/debug/libs.jar.
> Transform's input file does not exist: /Users/chenzefeng/Development/kraken-gallery/build/app/intermediates/flutter/debug/libs.jar. (See https://issuetracker.google.com/issues/158753935)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 5s
Exception: Gradle task assembleRelease failed with exit code 1

构建失败

Error: A value of type 'Future Function(Uri, String, String)?' can't be assigned to a variable of type 'Future Function(Uri, String, String?)?' because 'String?' is nullable and 'String' isn't.

  • 'Future' is from 'dart:async'.
  • 'Uri' is from 'dart:core'.
    nativeHttpClient.authenticate = f;
    Error: A value of type 'Future Function(String, int, String, String)?' can't be assigned to a variable of type 'Future Function(String, int, String, String?)?' because 'String?' is nullable and 'String' isn't.
  • 'Future' is from 'dart:async'.
    nativeHttpClient.authenticateProxy = f;

demo启动了,但是图片没有加载出来(Unable to load asset)

操作路径

在 demos/gallery 目录下执行 npm install 和 npm start,然后执行 kraken -u http://localhost:9999/kraken/index.js

➜  gallery git:(main) ✗ kraken -u http://localhost:9999/kraken/index.js
Execute binary: /usr/local/lib/node_modules/@openkraken/cli/build/darwin/debug/app.app/Contents/MacOS/app

flutter: Observatory listening on http://127.0.0.1:63913/dVIwR4G00Eg=/
flutter: ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
flutter: The following assertion was thrown resolving an image codec:
flutter: Unable to load asset: demos/gallery/icon/framework.png
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:225:7)
flutter: <asynchronous suspension>
flutter: #1      AssetBundleImageProvider._loadAsync (package:flutter/src/painting/image_provider.dart:668:31)
flutter: #2      AssetBundleImageProvider.load (package:flutter/src/painting/image_provider.dart:651:14)
flutter: #3      ImageProvider.resolveStreamForKey.<anonymous closure> (package:flutter/src/painting/image_provider.dart:504:13)
flutter: #4      ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:355:22)
flutter: #5      ImageProvider.resolveStreamForKey (package:flutter/src/painting/image_provider.dart:502:83)
flutter: #6      ImageProvider.resolve.<anonymous closure> (package:flutter/src/painting/image_provider.dart:333:9)
flutter: #7      ImageProvider._createErrorHandlerAndKey.<anonymous closure>.<anonymous closure> (package:flutter/src/painting/image_provider.dart:463:26)
flutter: (elided 13 frames from dart:async)
flutter:
flutter: Image provider: AssetImage(bundle: null, name: "demos/gallery/icon/framework.png")
flutter: Image key: AssetBundleImageKey(bundle: PlatformAssetBundle#868c5(), name:
flutter:   "demos/gallery/icon/framework.png", scale: 1.0)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: Unable to load asset: demos/hello-vue/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/hello-react/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/hello-rax/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/gallery/icon/demo.png
flutter: Another exception was thrown: Unable to load asset: demos/anime/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/calendar/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/granule/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/dragable-list/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/riddles/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/data-grid/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/todomvc/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/wallet/banner.png
flutter: Another exception was thrown: Unable to load asset: demos/order/banner.png
flutter: Kraken DevTool listening at ws://127.0.0.1:9222
flutter: Open Chrome/Edge and paste following url to your navigator:
flutter:     devtools://devtools/bundled/inspector.html?ws=127.0.0.1:9222

Gallery 需要添加扫码功能

Gallery 承载的是给用户提供快速体验 kraken 的工具。

对于没有客户端环境的前端工程师而言,如果他用的是个 Windows 电脑,就需要一个可以快速启动 Kraken 的 Android App 用于开发调试 Kraken 页面。

但是目前 Gallery 只能访问内置的页面,后面还需要给用户提供扫描二维码打开新页面的能力用于覆盖这部分的人群。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.