flutter_datetime_picker icon indicating copy to clipboard operation
flutter_datetime_picker copied to clipboard

null safety issue

Open zmhbh opened this issue 3 years ago • 9 comments

Hi, thanks for your lib, it's so powerful. After the integration, I found a warning, it's related to null-safety. Could you please help fix it? Or I can help if you don't have free time. Thanks!

Warning: Operand of null-aware operation '??' has type 'Color' which excludes null. ../…/lib/flutter_datetime_picker.dart:311

  • 'Color' is from 'dart:ui'. color: theme.backgroundColor ?? Colors.white,

zmhbh avatar Oct 17 '21 08:10 zmhbh

Also have the same problem

rcsousa14 avatar Oct 19 '21 12:10 rcsousa14

Same here

: Warning: Operand of null-aware operation '??' has type 'Color' which excludes null. ../…/lib/flutter_datetime_picker.dart:311

  • 'Color' is from 'dart:ui'. color: theme.backgroundColor ?? Colors.white,

melanki avatar Nov 01 '21 17:11 melanki

Same here

bachras avatar Nov 05 '21 09:11 bachras

Same here

chienplee avatar Nov 13 '21 16:11 chienplee

Same here

solaristhesun avatar Nov 14 '21 10:11 solaristhesun

Same here

v1lling avatar Nov 16 '21 09:11 v1lling

same here

febritecno avatar Dec 17 '21 06:12 febritecno

same here

fehernyul avatar Jan 05 '22 10:01 fehernyul

same here

Y-a-n-g-Y-a-n-g avatar Mar 13 '22 07:03 Y-a-n-g-Y-a-n-g