Explorar o código

Compatibility with stable branch

Added a comment with more info
Cristian Zazo %!s(int64=5) %!d(string=hai) anos
pai
achega
a68b348475
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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;