You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warning: Operand of null-aware operation '??' has type 'Color' which excludes null. #298
../../../.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,
^
It's worth noting that, apart from specific functionality that I am not aware of, CupertinoDatePicker in the built-in Flutter library now renders this package obsolete.
Reacted by Dane Mackier, Suhail Kawsara, Karim Alomar, yzhe819, InfiniteTabs, Justin Toth and liam
Activity
justintoth commentedon Jun 10, 2022
Any update on this? I'm encountering the same error after integrating this plugin.
aliazxs commentedon Jun 20, 2022
me too
justintoth commentedon Jun 21, 2022
This was "solved" for me by changing my pubspec entry to the following:
Abion47 commentedon Jun 21, 2022
It's worth noting that, apart from specific functionality that I am not aware of, CupertinoDatePicker in the built-in Flutter library now renders this package obsolete.
ahmednfwela commentedon May 12, 2023
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