Closed wasabia closed 4 years ago
any fix?
@rignaneseleo replace extends to with
I solved it using Flutter (Channel dev, v1.15.20) instead of Flutter (Channel dev, v1.15.21).
Fix it by change extends to with
like this https://github.com/junqi/flutter_datetime_picker/commit/561f98fdcc5f210fb81cc45db5925df3b0c23d2d
or you can change it manually .pub-cache/hosted/pub.dartlang.org/flutter_cupertino_date_picker-1.0.12/lib/src/date_picker_theme.dart
find
class DatePickerTheme extends Diagnosticable
then replace with
class DatePickerTheme with DiagnosticableMixin
what should I put in my pubspec then?
just use this library, then you can edit manually in $flutter_home/.pub-cache/hosted/pub.dartlang.org/flutter_cupertino_date_picker-1.0.12/lib/src/date_picker_theme.dart
or you can direct to path in error message
Yes, but I'd like to use a better solution since I'm going to deploy using codemagic and .pub-cache is ignored from github.
Please update 1.0.13
version and try. Modified DatePickerTheme
:
class DateTimePickerTheme with DiagnosticableMixin
Flutter 1.15.22-pre.21 flutter-cupertino-date-picker 1.0.12