/flutter/.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 {
Solution:
class DateTimePickerTheme with DiagnosticableMixin {
Solution:
After Flutter 1.22+ the DiagnosticableMixin class is gone, modify the source code of the date_picker_theme.dart class and replace it with Diagnosticable.
class DateTimePickerTheme with DiagnosticableMixin {
Similar Posts:
- Iview requested an error solution after clearing the Date-picker component
- Flutter run Error: The getter ‘body1’ isn’t defined for the class ‘TextTheme’. – ‘TextTheme’ is from ‘package:flutter/src/material/text_theme.dart’
- QT Compilation error: invalid application of ‘sizeof’ to incomplete type ‘Qt3DRender::QPickEvent’
- About multi_ image_ Error reporting for picker
- uniapp Use picker Error: Error in render: “TypeError: Cannot read property ‘XXX’ of undefined”
- Flutter project package IOS error [How to Solve]
- About fluent reference image_ Error reported by picker plug-in
- error: RPC failed; curl 18 transfer closed with outstanding read data remaining
- How to Solve setSupportActionBar() Method Error