flutter_datetime_picker
flutter_datetime_picker copied to clipboard
null safe
flutter_datetime_picker.dart:311:32: Warning: Operand of null-aware operation '??' has type 'Color' which excludes null.
- 'Color' is from 'dart:ui'. color: theme.backgroundColor ?? Colors.white,
same issue.
../../../../../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_datetime_picker-1.5.1/lib/flutter_datetime_picker.dart:311:32: Warning: Operand of null-aware operation '??' has type 'Color' which excludes null.
- 'Color' is from 'dart:ui'.
color: theme.backgroundColor ?? Colors.white,
^
@Realank same issue here. It's the only null-safe warning in my app now :/
We have a fork up and running that's compatible with flutter 3.10 https://github.com/Bdaya-Dev/flutter_datetime_picker https://pub.dev/packages/flutter_datetime_picker_bdaya