Giter Site home page Giter Site logo

wflutterdemo's People

Contributors

wanglu1209 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wflutterdemo's Issues

当页面有键盘弹出,长按列表的其中一个Item,弹出菜单对话框,当前页面edittext会失去焦点 输入法隐藏,导致菜单弹出的对话框和长按的位置不一致bug

I/flutter (11750): addListener:hasFocus:true
W/InputMethodManager(11750): startInputReason = 3
W/HwRemoteInputMethodManager(11750): isCasting false because IHwDistributedWindowManager is invalid.
I/InputMethodManager(11750): showSoftInput
I/HwViewRootImpl(11750): removeInvalidNode all the node in jank list is out of time
I/flutter (11750): addListener:hasFocus:false
I/HwViewRootImpl(11750): removeInvalidNode all the node in jank list is out of time

新版 SDK 编译失败:亲测 Flutter SDK 版本 1.17.4 和 Dart 2.8.4 可以运行

如果使用最新的版本会编译失败

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It's being deprecated in favor of Android embedding v2. Follow the
steps at

https://flutter.dev/go/android-project-migration

to migrate your project.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Running Xcode build...
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/editable.dart:1120:16: Error: Null safety features are disabled for this library.
    Try removing the package language version or setting the language version to 2.10 or higher.
          selection!,
                   ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/editable.dart:1126:35: Error: Null safety features are disabled for this library.
    Try removing the package language version or setting the language version to 2.10 or higher.
        final int distance = selection!.extentOffset - nextSelection.extentOffset;
                                      ^
    ../../../flutter/flutter/packages/flutter/lib/src/rendering/editable.dart:1160:55: Error: Null safety features are disabled for this library.
    Try removing the package language version or setting the language version to 2.10 or higher.
        final int startPoint = previousCharacter(selection!.extentOffset, _plainText, false);
......(省略)
                    ^^^^
    ../../../flutter/flutter/packages/flutter/lib/src/semantics/semantics.dart:114:9: Error: Final field 'action' is not initialized by this constructor.
    Try to initialize the field using an initializing formal or a field initializer.
      const CustomSemanticsAction.overridingAction({required String this.hint, required SemanticsAction this.action})
            ^^^^^^^^^^^^^^^^
    ../../../flutter/flutter/packages/flutter/lib/src/semantics/semantics.dart:127:26: Context: 'action' is defined here.
      final SemanticsAction? action;
                             ^^^^^^
    Unhandled exception:
    FileSystemException(uri=org-dartlang-untranslatable-uri:package%3Acharacters%2Fcharacters.dart; message=StandardFileSystem only supports file:* and data:* URIs)
    #0      StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:36:7)
    #1      asFileUri (package:vm/kernel_front_end.dart:599:37)
    #2      writeDepfile (package:vm/kernel_front_end.dart:738:21)
    <asynchronous suspension>
    #3      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:562:9)
    <asynchronous suspension>
    #4      starter (package:flutter_frontend_server/server.dart:180:12)
    <asynchronous suspension>
    #5      main (file:///opt/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:13:24)
    <asynchronous suspension>


    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Analyzing workspace
    note: Constructing build description
    note: Build preparation complete
    /Users/sunshine/Documents/GitHub/WFlutterDemo/wx_demo_project/ios/Runner.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'Runner' from project 'Runner')

Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.

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.