-
Notifications
You must be signed in to change notification settings - Fork 924
Open
Labels
date range pickerDate range picker componentDate range picker componentwaiting for customer responseCannot make further progress until the customer responds.Cannot make further progress until the customer responds.workaround availableWorkaround available to overcome the queryWorkaround available to overcome the query
Description
Use case
_getMonthHeaderText
final String monthTextFormat =
monthFormat == null || monthFormat.isEmpty
? enableMultiView &&
navigationDirection ==
DateRangePickerNavigationDirection.vertical
? 'MMM'
: 'MMMM'
: monthFormat;
String text;
dynamic middleDate = dates[middleIndex];
if (isHijri) {
text =
// ignore: lines_longer_than_80_chars
'${DateRangePickerHelper.getHijriMonthText(middleDate, localizations, monthTextFormat)} ${middleDate.year}';
} else {
text =
'${DateFormat(monthTextFormat, locale.toString()).format(middleDate)}'
' ${middleDate.year}';
}
Proposal
I need format like this
'${middleDate.year} ${DateRangePickerHelper.getHijriMonthText(middleDate, localizations, monthTextFormat)}'
Metadata
Metadata
Assignees
Labels
date range pickerDate range picker componentDate range picker componentwaiting for customer responseCannot make further progress until the customer responds.Cannot make further progress until the customer responds.workaround availableWorkaround available to overcome the queryWorkaround available to overcome the query