kalender 0.6.6
kalender: ^0.6.6 copied to clipboard
This Flutter package offers a Calendar Widget featuring integrated Day, MultiDay, and Month views. Moreover, it empowers you to tailor the visual aspects of the calendar widget.
0.6.6 #
- fix MultiDayHeaderWidget layout regressions.
- Added widget tests for MultiDayHeaderWidget.
0.6.5 #
- fix SingleDayView RenderFlex overflow.
0.6.3 #
- fix Event snapping not always working.
0.6.1 #
- Changed
VerticalTileResizeHandlePositionerto never use more than 1/4 of the height of the event tile on desktop.
0.6.0 #
- Package will use Semantic versioning from 0.6.0 onwards.
Breaking changes #
- The
EventsControlleris now an abstract class, useDefaultEventsController<T>instead. - The
ViewConfigurationno longer contains the configuration forinteractionandsnapping. These are now separate classes that are passed directly to theBody/Header.
What's new #
- There is a new callback
onTappedinCalendarCallbacks.- This is now called when the user taps on an empty space a calendar (Multiday body).
- There is a new callback
onMultiDayTappedinCalendarCallbacks.- This is called when the user taps on an empty space in the calendar (Multiday Header / Month body).
- MultiDayBodyConfiguration added
horizontalPaddingthis padding is located between events and the edge of day. - There is now a
CalendarInteractionandCalendarSnappingclass that can be passed to theCalendarBody/CalendarHeaderas a ValueNotifier. This allows the calendar view to change these behaviors without rebuilding the entire view. CalendarSnappingnow has aeventSnapStrategythat can be used to define custom snapping behavior when creating new events. #119
Fixes #
Boring stuff #
- Lots of new unit tests that run in multiple timezones to ensure there are no regressions.
- Example directory layout has changed.
0.5.0 #
Breaking changes: #
Version 0.5.0 has quite a few Breaking changes, there is no easy way to migrate to this version. Here are a few important things that have changed.
-
The CalendarView now takes a
headerCalendarHeader andbodyCalendarBody widgets. You can wrap these widgets in other widgets to style them as seen here -
Event tiles now make use of the Draggable widget provided by flutter. Take a look at the TileComponents for more details on how tiles work now. This opens some interesting possibilities for displaying multiple calendars.
-
The CalendarCallbacks (previously
CalendarEventHandlers) have been changed so more information is given when an interaction occurs. -
The schedule view has been removed, but will be reimplemented in the future.
What's new #
- Auto scroll/paging (https://github.com/werner-scholtz/kalender/issues/75 && https://github.com/werner-scholtz/kalender/issues/64)
- Calender can now accept Draggable's (https://github.com/werner-scholtz/kalender/issues/48)
- More information for the TileBuilder (https://github.com/werner-scholtz/kalender/issues/83)