headerBackgroundColor property Null safety

Color headerBackgroundColor
final

Specify the date picker header background color.

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

Implementation

final Color headerBackgroundColor;