Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Member not found #1451

Open
ddxl123 opened this issue Nov 26, 2024 · 0 comments
Open

[BUG]Member not found #1451

ddxl123 opened this issue Nov 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ddxl123
Copy link

ddxl123 commented Nov 26, 2024

  flutter_html: ^3.0.0-beta.2
  flutter_html_all: ^3.0.0-beta.2
D:\flutter\bin\flutter.bat doctor --verbose
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[√] Flutter (Channel stable, 3.24.5, on Microsoft Windows [版本 10.0.22631.4541], locale zh-CN)
    • Flutter version 3.24.5 on channel stable at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision dec2ee5c1f (13 days ago), 2024-11-13 11:13:06 -0800
    • Engine revision a18df97ca5
    • Dart version 3.5.4
    • DevTools version 2.37.3
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at D:\AndroidSdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: D:\AndroidStudio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    • All Android licenses accepted.

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

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34728.123
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.2)
    • Android Studio at D:\AndroidStudio
    • 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
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[√] IntelliJ IDEA Ultimate Edition (version 2023.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2023.3.4
    • Flutter plugin version 82.0.1
    • Dart plugin version 233.15325.11

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 12 (API 31) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [版本 10.0.22631.4541]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 131.0.6778.70
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 131.0.2903.63

[√] Network resources
    • All expected network resources are available.

• No issues found!
Process finished with exit code 0
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
/C:/Users/LONG%204080ADOC/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.6.3+1/lib/src/widgets/math.dart:180:22: Error: Member not found: 'MediaQuery.boldTextOverride'.
      if (MediaQuery.boldTextOverride(context)) {
                     ^^^^^^^^^^^^^^^^
/C:/Users/LONG%204080ADOC/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.6.3+1/lib/src/widgets/selectable.dart:236:20: Error: Member not found: 'MediaQuery.boldTextOverride'.
    if (MediaQuery.boldTextOverride(context)) {
                   ^^^^^^^^^^^^^^^^
/C:/Users/LONG%204080ADOC/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.6.3+1/lib/src/widgets/selection/gesture_detector_builder.dart:186:20: Error: The argument type 'void Function(TapDownDetails)' can't be assigned to the parameter type 'void Function(TapDragDownDetails)?'.
 - 'TapDownDetails' is from 'package:flutter/src/gestures/tap.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/tap.dart').
 - 'TapDragDownDetails' is from 'package:flutter/src/gestures/tap_and_drag.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/tap_and_drag.dart').
        onTapDown: onTapDown,
                   ^
/C:/Users/LONG%204080ADOC/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.6.3+1/lib/src/widgets/selection/gesture_detector_builder.dart:190:24: Error: The argument type 'void Function(TapUpDetails)' can't be assigned to the parameter type 'void Function(TapDragUpDetails)?'.
 - 'TapUpDetails' is from 'package:flutter/src/gestures/tap.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/tap.dart').
 - 'TapDragUpDetails' is from 'package:flutter/src/gestures/tap_and_drag.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/tap_and_drag.dart').
        onSingleTapUp: onSingleTapUp,
                       ^
/C:/Users/LONG%204080ADOC/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.6.3+1/lib/src/widgets/selection/gesture_detector_builder.dart:195:26: Error: The argument type 'void Function(TapDownDetails)' can't be assigned to the parameter type 'void Function(TapDragDownDetails)?'.
 - 'TapDownDetails' is from 'package:flutter/src/gestures/tap.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/tap.dart').
 - 'TapDragDownDetails' is from 'package:flutter/src/gestures/tap_and_drag.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/tap_and_drag.dart').
        onDoubleTapDown: onDoubleTapDown,
                         ^
/C:/Users/LONG%204080ADOC/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.6.3+1/lib/src/widgets/selection/gesture_detector_builder.dart:196:31: Error: The argument type 'void Function(DragStartDetails)' can't be assigned to the parameter type 'void Function(TapDragStartDetails)?'.
 - 'DragStartDetails' is from 'package:flutter/src/gestures/drag_details.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/drag_details.dart').
 - 'TapDragStartDetails' is from 'package:flutter/src/gestures/tap_and_drag.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/tap_and_drag.dart').
        onDragSelectionStart: onDragSelectionStart,
                              ^
/C:/Users/LONG%204080ADOC/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.6.3+1/lib/src/widgets/selection/gesture_detector_builder.dart:197:32: Error: The argument type 'void Function(DragStartDetails, DragUpdateDetails)' can't be assigned to the parameter type 'void Function(TapDragUpdateDetails)?'.
 - 'DragStartDetails' is from 'package:flutter/src/gestures/drag_details.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/drag_details.dart').
 - 'DragUpdateDetails' is from 'package:flutter/src/gestures/drag_details.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/drag_details.dart').
 - 'TapDragUpdateDetails' is from 'package:flutter/src/gestures/tap_and_drag.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/tap_and_drag.dart').
        onDragSelectionUpdate: onDragSelectionUpdate,
                               ^
/C:/Users/LONG%204080ADOC/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.6.3+1/lib/src/widgets/selection/gesture_detector_builder.dart:198:29: Error: The argument type 'void Function(DragEndDetails)' can't be assigned to the parameter type 'void Function(TapDragEndDetails)?'.
 - 'DragEndDetails' is from 'package:flutter/src/gestures/drag_details.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/drag_details.dart').
 - 'TapDragEndDetails' is from 'package:flutter/src/gestures/tap_and_drag.dart' ('/D:/flutter/packages/flutter/lib/src/gestures/tap_and_drag.dart').
        onDragSelectionEnd: onDragSelectionEnd,
                            ^
/C:/Users/LONG%204080ADOC/AppData/Local/Pub/Cache/hosted/pub.flutter-io.cn/flutter_math_fork-0.6.3+1/lib/src/widgets/selection/handle_overlay.dart:60:40: Error: Member not found: 'fadeDuration'.
        duration: TextSelectionOverlay.fadeDuration, vsync: this);
                                       ^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'D:\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.
> Get more help at https://help.gradle.org.

BUILD FAILED in 10s
Error: Gradle task assembleDebug failed with exit code 1

@ddxl123 ddxl123 added the bug Something isn't working label Nov 26, 2024
@ddxl123 ddxl123 changed the title [BUG] [BUG]Member not found Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant