From 8802c90ede6995c7295d6e0291c7cc123c764c39 Mon Sep 17 00:00:00 2001 From: faiyaz-shaikh <89002539+faiyaz-shaikh@users.noreply.github.com> Date: Wed, 23 Nov 2022 18:55:18 +0530 Subject: [PATCH] ChangeLog updated. --- CHANGELOG.md | 68 ++++++++++++++++++------------ lib/src/month_view/month_view.dart | 2 +- 2 files changed, 41 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d46a1bc8..2ca24105 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,23 @@ -# [1.0.1 - 16 Sep 2022](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/1.0.1) - -- Fixed - issue [#93 - Showing only 1 day in DayView](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/93) -- Added - feature [#26 - Support for locale](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/26) +# [1.0.1 - 25 Nov 2022](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/1.0.1) - Added - feature [#108 - WeekPage header color customization](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/pull/108) + Feature [#26 - Support for locale](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/26) +- Added removeWhere method in `EventController` to conditionally remove multiple events. (Fixes + Issue [#31](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/31)) +- Added customization in calendar views and + closes [#34](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/34). + - Added Customizations in `DayView`. Adds `dateStringBuilder`, `timeStringBuilder`, `headerStyle` + parameters in `Dayview`, + - Added Customizations in `MonthView`. Adds `headerStringBuilder`, `dateStringBuilder` + , `weekDayStringBuilder`, `headerStyle` parameters in `WeekView`. + - Added Customizations in `WeekView`. Adds `headerStyle`, `headerStringBuilder` + , `timeLineStringBuilder`, `weekDayStringBuilder`, `weekDayDateStringBuilder` parameters + in `WeekView`, +- Added onTap lister in day and week views. issue #50. +- Updates calculation of day difference. issue #80, #97. +- Fixed + Issue [#93 - Showing only 1 day in DayView](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/93) +- Fixed + Issue [#130 - Week view incorrectly displays events when a day contains overlapping events](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/130) # [1.0.0 - 12 Aug 2022](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/1.0.0) @@ -15,42 +27,42 @@ Note: This changes the behaviour of comparing two events using `==` operator. Please test your app properly after updating to this version. -- Add 15,30 and 60 minutes slots for `onDateLongPress` callback in Week and Day view. -- Add method to update filter in `EventController`. +- Added 15,30 and 60 minutes slots for `onDateLongPress` callback in Week and Day view. +- Added method to update filter in `EventController`. - Restructured the logic to store single time events. -- Add method to scroll to an event. +- Added method to scroll to an event. Issue [#30 - Scroll to an event in day view](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/30) - Added - feature [#36 - Feature/custom strings](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/pull/36) + Feature [#36 - Feature/custom strings](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/pull/36) - Use normalized dates in difference calculations. # [0.0.5 - 2 Jun 2022](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/0.0.5) - Fixed - issue [#48 - WeekView header date is different from the calendar view](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/48) + Issue [#48 - WeekView header date is different from the calendar view](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/48) - Added - feature [#46 - Change beginning of week in MonthView](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/46) + Feature [#46 - Change beginning of week in MonthView](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/46) - Fixed - issue [#42 - WeekDayTile causes RenderFlex-Overflow](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/42) + Issue [#42 - WeekDayTile causes RenderFlex-Overflow](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/42) - Fixed - issue [#65 - Adding onCellTap callback breaks whole calendar](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/65) + Issue [#65 - Adding onCellTap callback breaks whole calendar](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/65) - Fixed - issue [#62 - Missing redraw events](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/62) + Issue [#62 - Missing redraw events](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/62) - Fixed - issue [#16 - Scroll to index/liveTime](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/16) + Issue [#16 - Scroll to index/liveTime](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/16) - Show live time indicator line above event tiles. PR [#67](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/pull/67) # [0.0.4 - 2 Mar 2022](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/0.0.4) - Fixed - issue [#39 - Detect a long press on the calendar](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/39) + Issue [#39 - Detect a long press on the calendar](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/39) - Fixed - issue [#38 - Modifying CalendarEventData](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/38) + Issue [#38 - Modifying CalendarEventData](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/38) - Fixed - issue [#27 - EventController remove event don't work](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/27) + Issue [#27 - EventController remove event don't work](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/27) - Fixed - issue [#13 - Give the option to show weekdays in a WeekView.](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/13) + Issue [#13 - Give the option to show weekdays in a WeekView.](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/13) # [0.0.3 - 12 Oct 2021](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/0.0.3) @@ -58,13 +70,13 @@ # [0.0.2 - 3 Sep 2021](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/0.0.2) -- Update `README.md` file. -- Add license information in package files. -- Update project description in `pubspec.yaml` -- Update documentation. -- Add `CalendarControllerProvider`. -- Add `onEventTap` callback in `WeekView` and `DayView`. -- Add `onCellTap` callback in `MonthView`. +- Updated `README.md` file. +- Added license information in package files. +- Updated project description in `pubspec.yaml` +- Updated documentation. +- Added `CalendarControllerProvider`. +- Added `onEventTap` callback in `WeekView` and `DayView`. +- Added `onCellTap` callback in `MonthView`. - Make `controller` optional parameter in all views where `CalendarControllerProvider` is provided. # [0.0.1 - 26 Aug 2021](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/0.0.1) diff --git a/lib/src/month_view/month_view.dart b/lib/src/month_view/month_view.dart index f7e3d5f4..5ea5707b 100644 --- a/lib/src/month_view/month_view.dart +++ b/lib/src/month_view/month_view.dart @@ -35,7 +35,7 @@ class MonthView extends StatefulWidget { /// This function will generate WeeDayString in weekday view. /// Useful for I18n - /// Ex : ['Mon','Sun','Wed','Thu','Fri','Sat','Sun'] + /// Ex : ['Mon','Tue','Wed','Thu','Fri','Sat','Sun'] final String Function(int)? weekDayStringBuilder; /// Called when user changes month.