更新最新flutter后会报错
Closed this issue · 6 comments
Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
const DateTimePickerTheme({
^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
meet the same problem
lib/src/date_picker_theme.dart:39:9: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments.
const DateTimePickerTheme({
^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
- class DateTimePickerTheme extends Diagnosticable
- class DateTimePickerTheme with Diagnosticable
works
please @dylanwuzh update the library with this fix
class DateTimePickerTheme extends Diagnosticable
class DateTimePickerTheme with Diagnosticable
works
good
更新了 1.0.13
版本,对 DateTimePickerTheme
进行了修改:class DateTimePickerTheme with DiagnosticableMixin
,兼容Flutter的 stable
channel
Updated 1.0.13
version, modified DateTimePickerTheme
: class DateTimePickerTheme with DiagnosticableMixin
, compatible with Flutter stable
channel