@@ -14,7 +14,8 @@ class PickerDateButtonsSettings {
1414 Color ? currentYearTextColor,
1515 this .selectedDateRadius = 0 ,
1616 this .buttonBorder = const CircleBorder (),
17- }) : unselectedYearsTextColor = unselectedYearsTextColor ?? unselectedMonthsTextColor,
17+ }) : unselectedYearsTextColor =
18+ unselectedYearsTextColor ?? unselectedMonthsTextColor,
1819 selectedYearTextColor = selectedYearTextColor ?? selectedMonthTextColor,
1920 currentYearTextColor = currentYearTextColor ?? currentMonthTextColor,
2021 yearTextStyle = yearTextStyle ?? monthTextStyle;
@@ -90,12 +91,18 @@ class PickerDateButtonsSettings {
9091 return PickerDateButtonsSettings (
9192 monthTextStyle: monthTextStyle ?? this .monthTextStyle,
9293 yearTextStyle: yearTextStyle ?? this .yearTextStyle,
93- selectedMonthBackgroundColor: selectedMonthBackgroundColor ?? this .selectedMonthBackgroundColor,
94- selectedMonthTextColor: selectedMonthTextColor ?? this .selectedMonthTextColor,
95- selectedYearTextColor: selectedYearTextColor ?? this .selectedYearTextColor,
96- unselectedMonthsTextColor: unselectedMonthsTextColor ?? this .unselectedMonthsTextColor,
97- unselectedYearsTextColor: unselectedYearsTextColor ?? this .unselectedYearsTextColor,
98- currentMonthTextColor: currentMonthTextColor ?? this .currentMonthTextColor,
94+ selectedMonthBackgroundColor:
95+ selectedMonthBackgroundColor ?? this .selectedMonthBackgroundColor,
96+ selectedMonthTextColor:
97+ selectedMonthTextColor ?? this .selectedMonthTextColor,
98+ selectedYearTextColor:
99+ selectedYearTextColor ?? this .selectedYearTextColor,
100+ unselectedMonthsTextColor:
101+ unselectedMonthsTextColor ?? this .unselectedMonthsTextColor,
102+ unselectedYearsTextColor:
103+ unselectedYearsTextColor ?? this .unselectedYearsTextColor,
104+ currentMonthTextColor:
105+ currentMonthTextColor ?? this .currentMonthTextColor,
99106 currentYearTextColor: currentYearTextColor ?? this .currentYearTextColor,
100107 selectedDateRadius: selectedDateRadius ?? this .selectedDateRadius,
101108 buttonBorder: buttonBorder ?? this .buttonBorder,
0 commit comments