Browse Source

Compatibility with stable branch

Added a comment with more info
Cristian Zazo 5 năm trước cách đây
mục cha
commit
a68b348475
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      lib/src/datetime_picker_theme.dart

+ 3 - 1
lib/src/datetime_picker_theme.dart

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