I want to customize DateRangePicker in flutter, How can I change the following elements?
- Change the
Savebutton to image. - Remove the
Switch to inputbutton. - Change the
header backgroundcolor. - Change
day namecolor. - Change
backgroundcolor. - Change
selected item indicatorcolor. - Change
selected item textcolor. - Change
selected range indicatorcolor. - Change
selected range textcolor.
showDateRangePicker(
context: context,
firstDate: DateTime.now(),
lastDate: DateTime.now().add(Duration(days: 100)),
builder: (BuildContext context, Widget child) {
return Theme(
data: ThemeData(
...
),
child: child,
);
},
);


@Michael Feinstein is right - to elaborate a little bit on what you have to do:
_CalendarRangePickerDialogand change what you need. For your 6-9 look at_buildDayItemin the range picker file and the other 2 are also easy to find :-)Now you are all set and good to go.