todayHighlightColor property Null safety

Color? todayHighlightColor
final

Color that highlights the today date cell in SfDateRangePicker.

Allows to change the color that highlights the today date cell border in month, year, decade and century view in date range picker.

Defaults to null.

See also:


Widget build(BuildContext context) {
   return MaterialApp(
     home: Scaffold(
       body: SfDateRangePicker(
         view: DateRangePickerView.month,
         todayHighlightColor: Colors.red,
         showNavigationArrow: true,
       ),
     ),
   );
 }

Implementation

final Color? todayHighlightColor;