dylanwuzh / flutter-cupertino-date-picker

Flutter cupertino style date picker.
Apache License 2.0
362 stars 417 forks source link

Error: The type 'DiagnosticableMixin' can't be mixed in. class DateTimePickerTheme with DiagnosticableMixin #135

Closed MarkBurt closed 4 years ago

MarkBurt commented 4 years ago

Flutter 1.22.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision 8874f21e79 (9 days ago) • 2020-10-29 14:14:35 -0700 Engine • revision a1440ca392 Tools • Dart 2.10.3

The following problems occur after import: ../../../.pub-cache/hosted/pub.flutter-io.cn/flutter_cupertino_date_picker-1.0.26+2/lib/src/date_picker_theme.dart:23:32: Error: Type 'DiagnosticableMixin' not found. class DateTimePickerTheme with DiagnosticableMixin { ^^^^^^^^^^^^^^^^^^^ ../../../.pub-cache/hosted/pub.flutter-io.cn/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 {

The solution is: Removed ‘with DiagnosticableMixin’ or change 'DiagnosticableMixin' to 'Diagnosticable' and it work well for me.

cxjwin commented 4 years ago

same problem

wisnuwijo commented 4 years ago

same problem

wisnuwijo commented 4 years ago

The solution is: Removed ‘with DiagnosticableMixin’ or change 'DiagnosticableMixin' to 'Diagnosticable' and it work well for me.

The solution is: Removed ‘with DiagnosticableMixin’ or change 'DiagnosticableMixin' to 'Diagnosticable' and it work well for me.

BringTheChill commented 3 years ago

remove it from where?

Marcosmaliki commented 3 years ago

Why is this closed

Hynsn commented 2 months ago

Why is this closed