浏览代码

Update datetime_picker_theme.dart

刘彦博 5 年之前
父节点
当前提交
fb94e038af
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/src/datetime_picker_theme.dart

+ 1 - 1
lib/src/datetime_picker_theme.dart

@@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
 
 // Migrate DiagnosticableMixin to Diagnosticable until
 // https://github.com/flutter/flutter/pull/51495 makes it into stable (v1.15.21)
-class DatePickerTheme with Diagnosticable {
+class DatePickerTheme with DiagnosticableTreeMixin {
   final TextStyle cancelStyle;
   final TextStyle doneStyle;
   final TextStyle itemStyle;