dylanwuzh / flutter-cupertino-date-picker

Flutter cupertino style date picker.
Apache License 2.0
363 stars 415 forks source link

更新最新flutter后会报错 #88

Closed super-yolin closed 4 years ago

super-yolin commented 4 years ago

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.

liketemple commented 4 years ago

meet the same problem

liketemple commented 4 years ago

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.

liketemple commented 4 years ago
rignaneseleo commented 4 years ago

please @dylanwuzh update the library with this fix

X287210480X commented 4 years ago
  • class DateTimePickerTheme extends Diagnosticable

  • class DateTimePickerTheme with Diagnosticable works

good

dylanwuzh commented 4 years ago

更新了 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