I'm using Flutter Form Builder package and it seems I can't change the color directly using the FormBuilderDateTimePicker class, so I used the datePickerTheme in the ThemeData,
datePickerTheme: const DatePickerThemeData(
headerBackgroundColor: Color(0xFF2296F3),
headerForegroundColor: Colors.white,
backgroundColor: Color(0xFFE6F3FD),
),
But the header part does not fully change the background color, there is a space below, please see the image below
How to change color on that specific space or can I get rid of it?, or can I get rid the divider? or change the color of the divider?
You can't get rid of divider but you can set its color to transparent.