Code Monkey home page Code Monkey logo

Comments (2)

hrxiang avatar hrxiang commented on June 16, 2024

flutter3.7+ .
pls see readme

from open-im-flutter-demo.

labike avatar labike commented on June 16, 2024

@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.

from open-im-flutter-demo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.