dylanwuzh / flutter-cupertino-date-picker

Flutter cupertino style date picker.
Apache License 2.0
363 stars 414 forks source link

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

Open ravitejaavv opened 3 years ago

ravitejaavv commented 3 years ago

The issue is happening in Flutter 1.20 version

Please change DiagnosticableMixin to Diagnosticable

David-Oreo commented 3 years ago

me too...

suchengyong commented 3 years ago

me too...

yasseralsamman commented 3 years ago

Created a pull request #129

mahidul-islam commented 3 years ago

me too

sam0829 commented 3 years ago

Thanks @yasseralsamman Using the following works meanwhile his PR is merged

flutter_cupertino_date_picker:
    git: https://github.com/yasseralsamman/flutter-cupertino-date-picker.git
mupiaomiao commented 3 years ago

Beause the DiagnostableMixin is removed, instead Diagnostable

JAVPHP commented 3 years ago

../../../sdk/flutter/.pub-cache/git/flutter-cupertino-date-picker-eb3a837589e0477b2cb99dad03e9e4fb69fb6dde/lib/src/date_picker.dart:103:34: Error: No named parameter with the name 'shadowThemeOnly'. theme: Theme.of(context, shadowThemeOnly: true),

JAVPHP commented 3 years ago

image

fly-qp commented 3 years ago

@JAVPHP Your solution only one currently working - also downloaded repo and edited local NEEDS TO BE FIXED!!

shababhsiddique commented 2 years ago

Problem still happening with latest on pub dev, please fix