Closed Mtharwat95 closed 1 year ago
Based on the instructions provided, we attempted to replicate the reported issue but were unable to do so. A sample has been created and is attached, including the output from testing.
Please be aware that the version of SfDateRangePicker and SfCalendar used in this test is 20.4.49 and Flutter version is 3.7.0.
We suggest updating to the latest version of Flutter and re-testing the issue. If the problem persists, please inform us.
We have the same issue on Flutter 3.3.10 - last release before 3.7.
As we are waiting for 3.7 issues to be ironed out, can you provide the latest version of syncfusion_flutter_datepicker
that is supported on v3.3.10
I had the same issue.
flutter upgrade
solved it
But I can confirm that the bug can be replicated on the 3.3.x flutter version.
We have the same issue on Flutter 3.3.10 - last release before 3.7.
As we are waiting for 3.7 issues to be ironed out, can you provide the latest version of
syncfusion_flutter_datepicker
that is supported on v3.3.10
+1
The error occurs when the flutter version on one's computer does not fit the the version of the package. My flutter version is 3.3.10 and I fixed the issue by adding these lines in pubspec.yaml.
dependencies:
flutter:
sdk: flutter
syncfusion_flutter_calendar: ^20.4.48
syncfusion_flutter_datepicker: ^20.4.48
dependency_overrides:
syncfusion_flutter_calendar: "20.2.43"
syncfusion_flutter_datepicker: "20.2.43"
komiljonovshohjahon,
Thanks for the update. Please get in touch with us if you required further assistance.
The error occurs when the flutter version on one's computer does not fit the the version of the package. My flutter version is 3.3.10 and I fixed the issue by adding these lines in pubspec.yaml.
dependencies: flutter: sdk: flutter syncfusion_flutter_calendar: ^20.4.48 syncfusion_flutter_datepicker: ^20.4.48 dependency_overrides: syncfusion_flutter_calendar: "20.2.43" syncfusion_flutter_datepicker: "20.2.43"
Yes this is working variant
../../../../FlutterSKD/flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_flutter_calendar-20.4.49/lib/src/calendar/sfcalendar.dart:10776:71: Error: A value of type 'RenderAbstractViewport?' can't be returned from a function with return type 'RenderAbstractViewport' because 'RenderAbstractViewport?' is nullable and 'RenderAbstractViewport' isn't.