-
Notifications
You must be signed in to change notification settings - Fork 714
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
DiagnosticableMixin not found #155
Comments
flutter update remove DiagnosticableMixin |
so cant fix this error , right? |
|
After the most recent Flutter update, changing 'DiagnosticMixin' to 'Diagnostic' indeed solves the problem. Thanks @jacky-yanglei! The flutter_datetime_picker package should now be updated with the same. |
I had this issue too but it was solved by @jacky-yanglei 's suggestion. Thanks |
Will this be released in a V.1.3.9 any soon? I am having issues as well. |
DiagnosticMixin in the library to Diagnosticable, not Diagnostic |
Same issue |
Same Issue. |
For me I replace all DiagnosticableMixin in the class by Diagnosticable and it works |
Error: Type 'DiagnosticableMixin' not found. |
Same issue. |
same issue. |
FYI there is a PR to fix this. You can use it now by putting this in your pubspec.yaml
pr-> #158 |
Thank you, this helped get my build running after the recent flutter updates that just broke nearly everything and this was the last thing to get it going. |
Done |
@Realank |
This update in pubspec.yaml solved my problem. Don't forget to do flutter clean after the update |
it works for me.
|
Yeah you are right! thanks for seeing it. dnfield/flutter_svg is needed? |
how ? |
@hiashutoshsingh with Ctrl+F |
but that class is in cache file of package...is it recommended to modify files in package ? |
use this fix instead: Luvti@6f70dd5 |
It is not recommended if you don’t know what you are doing. |
../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_datetime_picker-1.3.8/lib/src/datetime_picker_theme.dart:6:28: Error: Type 'DiagnosticableMixin' not found.
class DatePickerTheme with DiagnosticableMixin {
^^^^^^^^^^^^^^^^^^^
../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flutter_datetime_picker-1.3.8/lib/src/datetime_picker_theme.dart:6:7: Error: The type 'DiagnosticableMixin' can't be mixed in.
class DatePickerTheme with DiagnosticableMixin {
The text was updated successfully, but these errors were encountered: