Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Macacoazul01 committed Aug 20, 2024
1 parent a24455b commit 3e59330
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ class _MyAppState extends State<MyApp> {
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(
Expand Down
2 changes: 1 addition & 1 deletion lib/src/month_selector/month_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e59330

Please sign in to comment.