fluttercandies / wechat_flutter

wechat_flutter is Flutter version WeChat, an excellent Flutter instant messaging IM open source library!
Apache License 2.0
2.52k stars 550 forks source link

已适配 Flutter2 稳定分支 #34

Open ahyangnb opened 3 years ago

chenshiwengx commented 3 years ago

run报错

[√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.19041.928], locale zh-CN) • Flutter version 2.0.1 at D:\flutter_windows_2.0.1-stable\flutter • Framework revision c5a4b4029c (3 months ago), 2021-03-04 09:47:48 -0800 • Engine revision 40441def69 • Dart version 2.12.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3) • Android SDK at D:\android • Platform android-30, build-tools 29.0.3 • ANDROID_HOME = D:\android • ANDROID_SDK_ROOT = D:\android • Java binary at: D:\AndroidIde\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174) • All Android licenses accepted.

[√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio • Android Studio at D:\AndroidIde\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • android-studio-dir = D:\AndroidIde\Android Studio • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[√] IntelliJ IDEA Ultimate Edition (version 2019.3) • IntelliJ at D:\IntelliJ IDEA 2019.3.1 • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart

[√] Connected device (3 available) • sdk gphone x86 64 arm64 (mobile) • emulator-5558 • android-x64 • Android 11 (API 30) (emulator) • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.212 • Edge (web) • edge • web-javascript • Microsoft Edge 90.0.818.62

• No issues found!

/C:/Users/%E9%99%88%E5%A3%AB%E6%96%87/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/extended_text-6.0.6/lib/src/selection/extended_text_selection.dart:135:7: Error: The non-abstract class 'ExtendedTextSelectionState' is missing im plementations for these members:

class ExtendedTextSelectionState extends State ^^^^^^^^^^^^^^^^^^^^^^^^^^ ../flutter/packages/flutter/lib/src/services/text_input.dart:822:8: Context: 'TextSelectionDelegate.userUpdateTextEditingValue' is defined here. void userUpdateTextEditingValue(TextEditingValue value, SelectionChangedCause cause); ^^^^^^^^^^^^^^^^^^^^^^^^^^ /C:/Users/%E9%99%88%E5%A3%AB%E6%96%87/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/extended_text_field-7.0.1/lib/src/extended_editable_text.dart:1175:7: Error: The non-abstract class 'ExtendedEditableTextState' is missing impleme ntations for these members:

class ExtendedEditableTextState extends State ^^^^^^^^^^^^^^^^^^^^^^^^^ ../flutter/packages/flutter/lib/src/services/text_input.dart:822:8: Context: 'TextSelectionDelegate.userUpdateTextEditingValue' is defined here. void userUpdateTextEditingValue(TextEditingValue value, SelectionChangedCause cause); ^^^^^^^^^^^^^^^^^^^^^^^^^^ /C:/Users/%E9%99%88%E5%A3%AB%E6%96%87/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/extended_text-6.0.6/lib/src/selection/extended_text_selection.dart:439:8: Error: The method 'ExtendedTextSelectionState.hideToolbar' has fewer pos itional 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]); ^ /C:/Users/%E9%99%88%E5%A3%AB%E6%96%87/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/extended_text_field-7.0.1/lib/src/extended_editable_text.dart:2332:8: Error: The method 'ExtendedEditableTextState.hideToolbar' has fewer position al 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]); ^ /C:/Users/%E9%99%88%E5%A3%AB%E6%96%87/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/extended_text_field-7.0.1/lib/src/extended_text_field.dart:1227:20: Error: The getter 'scrollShortcutOverrides' isn't defined for the class '_Exte ndedTextFieldState'.

FAILURE: Build failed with an exception.

BUILD FAILED in 2m 53s Running Gradle task 'assembleDebug'... 175.2s Exception: Gradle task assembleDebug failed with exit code 1