how to change the text of header(month) of SfDateRangePicker widget - Flutter

625 Views Asked by At

I want to change the text of the header(month) cell. this text!

1

There are 1 best solutions below

0
On BEST ANSWER

By hiding the default headers (headerHeight=0, viewHeaderHeight = 0) and adding the custom header you can add the required text. We have a KB documentation for the same. Please find the KB from the following link.

KB link: https://www.syncfusion.com/kb/11427/how-to-customize-the-header-view-of-the-flutter-date-range-picker

Also, we have a KB documentation for customize the cell using cellBuilder. Please find the UG and KB documentation from the following link.

UG link: https://help.syncfusion.com/flutter/daterangepicker/builders#cell-builder

KB link: https://www.syncfusion.com/kb/12208/how-to-customize-the-date-range-picker-cells-using-builder-in-the-flutter-sfdaterangepicker