From a58421d5243be4d8cd1cddcee94bc695d00c9b01 Mon Sep 17 00:00:00 2001 From: pruebaxdxd <69986861+pruebaxdxd@users.noreply.github.com> Date: Fri, 5 Feb 2021 13:02:19 -0500 Subject: [PATCH] Flutter update remove DiagnosticableMixin Error: The type 'DiagnosticableMixin' can't be mixed in. class DatePickerTheme with DiagnosticableMixin { --- lib/src/date_picker_theme.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/date_picker_theme.dart b/lib/src/date_picker_theme.dart index 08bfffc..19b963f 100644 --- a/lib/src/date_picker_theme.dart +++ b/lib/src/date_picker_theme.dart @@ -20,7 +20,7 @@ const double DATETIME_PICKER_ITEM_HEIGHT = 36.0; const TextStyle DATETIME_PICKER_ITEM_TEXT_STYLE = const TextStyle(color: Color(0xFF000046), fontSize: 16.0); -class DateTimePickerTheme with DiagnosticableMixin { +class DateTimePickerTheme with Diagnosticable { final cancelDefault = const Text('OK'); /// DateTimePicker theme.