-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flutter 3: ERROR: A value of type 'Widget' can't be assigned to a variable of type 'InheritedWidget'. #731
Comments
Plus 1 to this! |
same to me |
As a quick fix change the type
|
Hi @royacodes, Greetings from Syncfusion. We have already fixed the issue which occurred after upgrading the Flutter SDK version to 3.0.0. It will be rolled out in our next weekly patch release, which is expected by tomorrow, and we will update you once the patch gets rolled out. We appreciate your patience until then. Regards, |
Thank you very much for your consideration. |
Hi @royacodes, Thanks for your patience. The issues with Flutter v3.0.0 have been fixed and rolled out in our weekly patch release. To avoid the issues, please upgrade our package to the latest version 20.1.56. Regards, |
Many thanks for the prompt reply |
recently, I update flutter to version 3 and can't build the app.
error below is generated:
^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_flutter_gauges-
20.1.55/lib/src/linear_gauge/gauge/linear_gauge_scope.dart:40:10: Error: A value of type 'Widget' can't be assigned to a
variable of type 'InheritedWidget'.
- 'Widget' is from 'package:flutter/src/widgets/framework.dart'
- ('/C:/flutter_3.0.0/packages/flutter/lib/src/widgets/framework.dart').
- 'InheritedWidget' is from 'package:flutter/src/widgets/framework.dart'
- ('/C:/flutter_3.0.0/packages/flutter/lib/src/widgets/framework.dart').
The text was updated successfully, but these errors were encountered: