From 3e59330b82b3c03dd0a01b5e0400ef105c4ffe3c Mon Sep 17 00:00:00 2001 From: Gianluca Bettega Date: Mon, 19 Aug 2024 22:17:17 -0300 Subject: [PATCH] format --- example/lib/main.dart | 4 ++-- lib/src/month_selector/month_button.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 372b608..8c2f8db 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -142,8 +142,8 @@ class _MyAppState extends State { context: contexto, firstDate: DateTime(DateTime.now().year - 5, 5), lastDate: DateTime(DateTime.now().year + 8, 9), - initialRangeDate: DateTime(DateTime.now().year , 5), - endRangeDate: DateTime(DateTime.now().year , 7), + initialRangeDate: DateTime(DateTime.now().year, 5), + endRangeDate: DateTime(DateTime.now().year, 7), confirmWidget: Text( 'This one!', style: TextStyle( diff --git a/lib/src/month_selector/month_button.dart b/lib/src/month_selector/month_button.dart index 2fa74fa..05cde24 100644 --- a/lib/src/month_selector/month_button.dart +++ b/lib/src/month_selector/month_button.dart @@ -65,7 +65,7 @@ class MonthButton extends StatelessWidget { selectedDates.add(controller.endRangeDate!); executeGradient++; } - if (executeGradient==2) { + if (executeGradient == 2) { if (date.isAfter(selectedDates[0]) && date.isBefore(selectedDates[1])) { backgroundColor = HSLColor.fromColor(controller .monthPickerDialogSettings