[Flutter] Error: Type 'DiagnosticableMixin' not found. 截图原因解决方法图示 截图 原因 flutter1.20.0+以上DiagnosticableMixin 被移除了。 解决方法 1.在lib/src/date_picker_theme.dart中找到DateTimePickerTheme类 2.将继承的DiagnosticableMixin 类替换为 Diagnosticable类 图示