calendar_view 1.3.0 calendar_view: ^1.3.0 copied to clipboard
A Flutter package allows you to easily implement all calendar UI and calendar event functionality.
1.3.0 - 12 Nov 2024 #
- Fixes full day event position when fullHeaderTitle is empty.
- Fixes generics of _InternalDayViewPageState is always Object?. #371
- Fixes issue in showing quarter hours when startHour is provided. #387
- Use
hourLinePainter
inDayView
#386 - Refactor
SideEventArranger
to arrange events properly. #290 - Adds generic type in
_InternalWeekViewPageState
. #380 - Adds additional configurations for
HeaderStyle
.- Added
mainAxisSize
,mainAxisAlignment
,rightIconConfig
andleftIconConfig
.
- Added
- Adds additional configurations for
CalendarPageHeader
,MonthPageHeader
,DayPageHeader
andWeekPageHeader
.- Added
titleBuilder
to build custom title for header.
- Added
- Fixes issue calendar scroll physics for day & week view. #417
- Adds
onTimestampTap
callback inWeekView
andDayView
. #383 - Use
maxWidth
to set max width of event slot in day & week view. #413 Deprecations
:- deprecated
backgroundColor
andiconColor
fromCalendarPageHeader
,DayPageHeader
,MonthPageHeader
andWeekPageHeader
.- Solution: use
headerStyle
instead.
- Solution: use
- deprecated
leftIconVisible
,rightIconVisible
,leftIconPadding
,rightIconPadding
,leftIcon
andrightIcon
fromHeaderStyle
.- Solution: use
rightIconConfig
andleftIconConfig
instead.
- Solution: use
- deprecated
1.2.0 - 10 May 2024 #
- Fixed issue when adding full-day events to WeekView, event is not display at correct date. #259
- Added support for onLongPress of event in day, week and month view. #342
- Added check to keep hour in timeline (in day and week view) if LiveTimeIndicator time or backgroundView dosen't overlap. #336
- Added event tap, double tap and long press for full day event in day and week view. #260
- Fixed live time indicator not displaying on correct position when start and end hour is set. #366
- Fixed synchronization of scroll between pages in day and week view. #186
- Added showWeekTileBorder field whether to show border for header in month view. #306
- Fixed an issue related to hiding day, which is not in the current month in MonthView. #328
- Added header title for full day events in week view. #308
- Added support for double tapping gestures on any event in day, week, and month view. #195
- Added support to set end time of day and week view. #298
- Added support for horizontal scroll physics of week and month view page. #314
- Fixed issue related to the live time indicator is that it is not in the correct position when startHour is set for the week and day view. #346
- Fixed issue of onDateTap returns wrong date when startHour is set for week and day view. #341
- Fixed issue related to onDateTap no triggered in WeekView and dayView. #332
1.1.0 - 28 Feb 2024 #
- Fixed issue related to Hiding Header #299
- Fixed issue related to auto scroll to initial duration for day view. #269
- Added feature added a callback for the default header title. #241
- Added feature added the quarterHourIndicator for the DayView & halfHourIndicator and quarterHourIndicator for WeekView. #270
- Added feature added Support for changing the week day position(top/bottom) in weekView. #283
- Adds new flag
includeEdges
inEventArrangers
. #290 - Fixed null check exception while adding events. #282
- Added new method
update
to update the events inEventController
. #125 - Added new parameter
includeFullDayEvents
ingetEventsOnDay
to decide whether to include full-day events in the returned list or not. - Added getters
isRangingEvent
andisFullDayEvent
inCalendarEventData
to check if the event is a ranging event or a full-day event. - Added new method
occursOnDate
inCalendarEventData
to check if the event occurs on the given date or not. - Made
description
inCalendarEventData
nullable. - Fixed issue in
MonthView
event's titleStyle to set the style from specific event.#325
Deprecations #
- Deprecated
events
getter inEventController
and addsallEvents
to replace it.
1.0.4 - 9 Aug 2023 #
- Fixed Issue #219 - There is an issue with the daily view layout display
- Fixed Issue #205 - SafeArea can't be deactivated on MonthView
- Fixed Issue #237 - DayView & MonthView layout issue in landscape mode
- Added Feature #57 - Change default start hour in DayView
- Fixed Issue #225 - Unwanted space at top in DayView while using sliver
1.0.3 - 3 Apr 2023 #
- Added Feature #172 - Press Detector builder for day view and week view
- Added Feature #147 - Added text style and description style in CalendarEventData
- Added Feature #174 - Animate to specific scroll controller offset
- Fixed Issue #161 - Unable to add 11.30 PM to 12.00PM
- Fixed Issue #179 - Removing Full Day Event does not work
- Fixed Issue #184 - Use available vertical space month view
- Fixed Issue #191 - DisplayBorder in WeekDayTile in month_view_components does not work correctly
- Fixed Issue #197 - Some DateTimeExtensions methods are not working properly for Daylight Saving Time
- Fixed Issue #199 - HeaderStyle decoration no have effect on MonthView
1.0.2 - 10 Jan 2023 #
- Added Feature #144 - WeekView not support show current week number
- Added Feature #149 - Full day events support
- Fixed Issue #142 - week day not align center
- Fixed Issue #146 - WeekView wrapped by SafeArea
1.0.1 - 25 Nov 2022 #
- Added Feature #26 - Support for locale
- Added removeWhere method in
EventController
to conditionally remove multiple events. (Fixes Issue #31) - Added customization in calendar views and
closes #34.
- Added Customizations in
DayView
. AddsdateStringBuilder
,timeStringBuilder
,headerStyle
parameters inDayview
, - Added Customizations in
MonthView
. AddsheaderStringBuilder
,dateStringBuilder
,weekDayStringBuilder
,headerStyle
parameters inWeekView
. - Added Customizations in
WeekView
. AddsheaderStyle
,headerStringBuilder
,timeLineStringBuilder
,weekDayStringBuilder
,weekDayDateStringBuilder
parameters inWeekView
,
- Added Customizations in
- Added onTap lister in day and week views. issue #50.
- Updated calculation of day difference. issue #80, #97.
- Fixed Issue #93 - Showing only 1 day in DayView
- Fixed Issue #130 - Week view incorrectly displays events when a day contains overlapping events
1.0.0 - 12 Aug 2022 #
-
Breaking Changes
-
Improved logic to compare
CalendarEventData
.Note: This changes the behaviour of comparing two events using
==
operator. Please test your app properly after updating to this version.
-
-
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.
-
Added method to scroll to an event. Issue #30 - Scroll to an event in day view
-
Added Feature #36 - Feature/custom strings
-
Use normalized dates in difference calculations.
0.0.5 - 2 Jun 2022 #
- Fixed Issue #48 - WeekView header date is different from the calendar view
- Added Feature #46 - Change beginning of week in MonthView
- Fixed Issue #42 - WeekDayTile causes RenderFlex-Overflow
- Fixed Issue #65 - Adding onCellTap callback breaks whole calendar
- Fixed Issue #62 - Missing redraw events
- Fixed Issue #16 - Scroll to index/liveTime
- Show live time indicator line above event tiles. PR #67
0.0.4 - 2 Mar 2022 #
- Fixed Issue #39 - Detect a long press on the calendar
- Fixed Issue #38 - Modifying CalendarEventData
- Fixed Issue #27 - EventController remove event don't work
- Fixed Issue #13 - Give the option to show weekdays in a WeekView.
0.0.3 - 12 Oct 2021 #
- Added support for multiple day events
0.0.2 - 3 Sep 2021 #
- Updated
README.md
file. - Added license information in package files.
- Updated project description in
pubspec.yaml
- Updated documentation.
- Added
CalendarControllerProvider
. - Added
onEventTap
callback inWeekView
andDayView
. - Added
onCellTap
callback inMonthView
. - Make
controller
optional parameter in all views whereCalendarControllerProvider
is provided.
0.0.1 - 26 Aug 2021 #
- Initial release