Skip to content

Commit f3d2eb3

Browse files
authored
Merge pull request #1 from Indumathi1195R/patch-1
Update main.dart
2 parents 0bbb435 + a3ee655 commit f3d2eb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class BlackoutDates extends State<SpecialDatesCellCustomization> {
4747

4848
Widget cellBuilder(BuildContext context, DateRangePickerCellDetails details) {
4949
DateTime _visibleDates = details.date;
50-
if (isSpecialDay(_visibleDates)) {
50+
if (isSpecialDate(_visibleDates)) {
5151
return Column(
5252
children: [
5353
Container(
@@ -77,7 +77,7 @@ class BlackoutDates extends State<SpecialDatesCellCustomization> {
7777
}
7878
}
7979

80-
bool isSpecialDay(DateTime date) {
80+
bool isSpecialDate(DateTime date) {
8181
for (int j = 0; j < _specialDates.length; j++) {
8282
if (date.year == _specialDates[j].year &&
8383
date.month == _specialDates[j].month &&

0 commit comments

Comments
 (0)