Closed rengui-hs closed 1 year ago
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 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 flutter_math_fork
library not having support for Dart 3. Try out 3.0.0-beta.2 which references the latest version of flutter_math_fork
which should resolve this issue. If it doesn't resolve, check your pubspec.lock
to make sure the latest version of flutter_math_fork
is being used.
@Sub6Resources
The 3.0.0-beta.2 version of flutter_html still does not solve this problem
I fixed this issue in pr. https://github.com/Sub6Resources/flutter_html/pull/1304
@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)?'.
'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)?'.
Restarted application in 3,396ms.