/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:
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 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:
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 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'.
'_ExtendedTextFieldState' is from 'package:extended_text_field/src/extended_text_field.dart' ('/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/extendedtext
field.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'scrollShortcutOverrides'.
shortcuts: scrollShortcutOverrides,
^^^^^^^^^^^^^^^^^^^^^^^
/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:2572:43: Error: Required named parameter 'context' must be provided.
return widget.controller.buildTextSpan(
^
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'E:\studyCode\flutter\bin\flutter.bat'' finished with non-zero exit value 1
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.
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.
Where: Script 'E:\studyCode\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1035
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
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 2m 53s Running Gradle task 'assembleDebug'... 175.2s Exception: Gradle task assembleDebug failed with exit code 1