Skip to content
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

Error: Type 'DiagnosticableMixin' not found. class DateTimePickerTheme with DiagnosticableMixin { #132

Open
qq543237999 opened this issue Oct 15, 2020 · 1 comment

Comments

@qq543237999
Copy link

flutter_cupertino_date_picker-1.0.26+2/lib/src/date_picker_theme.dart:23:7: Error: The type 'DiagnosticableMixin' can't be mixed in.
class DateTimePickerTheme with DiagnosticableMixin {
image

@TheHussein
Copy link

It's obsolete, someone made a fork that works, add this to your pubspec.yaml instead

dependencies:
  flutter:
    sdk: flutter
  flutter_cupertino_date_picker:
    git:
      url: https://github.com/imshashank/flutter-cupertino-date-picker # Repo
      ref: master # Branch name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants