Closed labike closed 1 year ago
flutter3.7+ . pls see readme
@hrxiang i change flutter version:
Flutter 3.7.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9944297138 (4 months ago) • 2023-02-08 15:46:04 -0800
Engine • revision 248290d6d5
Tools • Dart 2.19.2 • DevTools 2.20.1
and delete .AppData/Local/Cache/Pub/ cache files, then flutter run, get above error, eg:
/C:/Users/Administrator/AppData/Local/Pub/Cache/git/flutter_openim_widget-d31f998ca3649c3a272c864b6aa73bd6a9419208/lib/src/chat_emoji_view.dart:262:11: Error: No named parameter with the name 'showRecentsTab'.
showRecentsTab: true,
^^^^^^^^^^^^^^
/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.dev/emoji_picker_flutter-1.6.1/lib/src/config.dart:19:9: Context: Found this candidate, but the arguments don't match.
const Config({
^^^^^^
/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.dev/extended_text_library-10.0.0/lib/src/selection/extended_text_selection.dart:364:18: 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' ('/G:/flutter/packages/flutter/lib/src/gestures/tap.dart').
- 'TapDragDownDetails' is from 'package:flutter/src/widgets/tap_and_drag_gestures.dart' ('/G:/flutter/packages/flutter/lib/src/widgets/tap_and_drag_gestures.dart').
onTapDown: onTapDown,
^
/C:/Users/Administrator/AppData/Local/Pub/Cache/hosted/pub.dev/extended_text_library-10.0.0/lib/src/selection/extended_text_selection.dart:369:22: 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' ('/G:/flutter/packages/flutter/lib/src/gestures/tap.dart').
- 'TapDragUpDetails' is from 'package:flutter/src/widgets/tap_and_drag_gestures.dart' ('/G:/flutter/packages/flutter/lib/src/widgets/tap_and_drag_gestures.dart').
onSingleTapUp: onSingleTapUp,
etc.
What happened?
running
flutter run
, i get this error:What did you expect to happen?
some error from flutter_openim_widget and other error from pub.dev/lib or flutter/package dependencies, i don't know how fixed error.
How can we reproduce it (as minimally and precisely as possible)?
my dependencies:
Anything else we need to know?
No response
version
Cloud provider
OS version
Install tools