-
-
Notifications
You must be signed in to change notification settings - Fork 896
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] code error #1296
Comments
Please release the latest code. This error is due to the version of flutter_math_fork being 0.6.3+1. |
Facing same issue after updating flutter to 3.10.0 and dart to 3.0.0. |
Same here after upgrading the flutter to 3.10.2. |
The issue is actually in flutter_math_fork used by flutter_html, I have created a Pull request with the required fixes, hopefully it will be approved and then afterward flutter_html team can update flutter_math_fork dependency and it will be resolved :) |
The latest code has updated the flutter_math_fork version but it has not been released yet |
The latest version has been released. The issue was with the |
@Sub6Resources |
I fixed this issue in pr. |
@zhourengui Good catch. I forgot this was a pre-1.0.0 version, so caret syntax only includes up to the next minor version. |
Describe the bug:
code error
HTML to reproduce the issue:
Html
widget configuration:flutter html demo
Expected behavior:
code works fine
Screenshots:
Device details and Flutter/Dart/
flutter_html
versions:3.10.1/2.23.1/^3.0.0-beta.1
Stacktrace/Logcat
: 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' ('../../flutter_sdks/3.10.1/packages/flutter/lib/src/gestures/tap.dart').
'TapDragUpDetails' is from 'package:flutter/src/widgets/tap_and_drag_gestures.dart' ('../../flutter_sdks/3.10.1/packages/flutter/lib/src/widgets/tap_and_drag_gestures.dart').
onSingleTapUp: onSingleTapUp,
: Error: The argument type 'void Function(TapDownDetails)' can't be assigned to the parameter type 'void Function(TapDragDownDetails)?'.
onDoubleTapDown: onDoubleTapDown,
^
: Error: The argument type 'void Function(DragStartDetails)' can't be assigned to the parameter type 'void Function(TapDragStartDetails)?'.
onDragSelectionStart: onDragSelectionStart,
^
: Error: The argument type 'void Function(DragStartDetails, DragUpdateDetails)' can't be assigned to the parameter type 'void Function(TapDragUpdateDetails)?'.
onDragSelectionUpdate: onDragSelectionUpdate,
^
: Error: The argument type 'void Function(DragEndDetails)' can't be assigned to the parameter type 'void Function(TapDragEndDetails)?'.
onDragSelectionEnd: onDragSelectionEnd,
^
Restarted application in 3,396ms.
The text was updated successfully, but these errors were encountered: