Skip to content

Commit a3ee655

Browse files
Update main.dart
Method name updated.
1 parent 0bbb435 commit a3ee655

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)