backgroundColor property

Color? backgroundColor
final

The color to fill the background of the SfDateRangePicker.

Defaults to null.

See also:


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

Implementation

final Color? backgroundColor;