todayHighlightColor property Null safety

Color? todayHighlightColor
final

Specify the date picker today highlight color.

Widget build(BuildContext context) {
 return Scaffold(
   appBar: AppBar(),
     body: Center(
       child: SfTheme(
         data: SfThemeData(
           dateRangePickerThemeData: SfDateRangePickerThemeData(
             todayHighlightColor: Colors.red
           )
         ),
         child: SfDateRangePicker(),
       ),
     )
  );
}

Implementation

final Color? todayHighlightColor;