rwbr / flutter_neat_and_clean_calendar

Simple and clean flutter calendar with ability to slide up/down to show weekly/monthly calendar. Forked from [flutter_clean_calender](https://pub.dev/packages/flutter_clean_calendar)
MIT License
104 stars 51 forks source link

Issue in Flutter SDK 3.10 #55

Closed sarmiladhandapani closed 1 month ago

sarmiladhandapani commented 1 year ago

../../.pub-cache/hosted/pub.dev/macos_ui-1.12.2/lib/src/fields/text_field.dart:108:35: Error: The parameter 'details' of the method '_TextFieldSelectionGestureDetectorBuilder.onSingleTapUp' has type 'TapUpDetails', which does not match the corresponding type, 'TapDragUpDetails', in the overridden method, 'TextSelectionGestureDetectorBuilder.onSingleTapUp'.

rwbr commented 1 year ago

Well, could you please add more information so that I understand in which way your problem is related to this project?

LZaruba commented 1 year ago

Hey,

I'm facing the same error. Minimal reproducible code is to take the autogenerated default flutter app and add the calendar as shown in the example. Once one tries to start the app, it fails with the message above.

Please let me know if there is anything that I can provide to support solving this issue.

Thanks a lot! Have a great day


UPDATE: To reproduce, just checkout this repo and try to run the example app with flutter 3.10.x

LZaruba commented 1 year ago

I was able to make it work using the workaround from this macos_ui package issue https://github.com/macosui/macos_ui/issues/424#issuecomment-1544712403

TL;DR Add the following to your pubspec.yaml

dependency_overrides:
  macos_ui:
    git:
      url: https://github.com/Mayb3Nots/macos_ui.git
      ref: dev

The problem itself is in the macos_ui library not being compatible. Once the version 2.x is out, this project should bump it and all is goood.

jiangzongyu commented 1 year ago

any news?

m-gug commented 1 year ago

Hi! @rwbr any chance to get rid of the macos_ui dependency? Due to the developer's personal difficulties, there seems to be little progress on the issue (https://github.com/macosui/macos_ui/issues/423). Tragic and completely understandable, but unfortunately the error is preventing us from upgrading Flutter and thus also from upgrading many other packages.

yichaosun commented 1 year ago

UPDATE: To reproduce, just checkout this repo and try to run the example app with flutter 3.10.x

rwbr commented 1 year ago

I'll check that asap

rwbr commented 1 month ago

With Flutter 3.22.3 I don't get any problem like this.