kalender 0.6.7 copy "kalender: ^0.6.7" to clipboard
kalender: ^0.6.7 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.7 #

  • fix: Rescheduling event triggering an assert. #144
  • fix: TimeIndicator rendering on incorrect day. #143

0.6.6 #

  • fix: MultiDayHeaderWidget layout regressions.
  • Added widget tests for MultiDayHeaderWidget.

0.6.5 #

  • fix: SingleDayView RenderFlex overflow.

0.6.4 #

  • fix: MonthGrid not taking number of rows into consideration. #131

0.6.3 #

  • fix: Event snapping not always working.

0.6.2 #

  • fix: Calendar sometimes displays wrong initial date. 314ff4e

0.6.1 #

  • Changed VerticalTileResizeHandlePositioner to 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 EventsController is now an abstract class, use DefaultEventsController<T> instead.
  • The ViewConfiguration no longer contains the configuration for interaction and snapping. These are now separate classes that are passed directly to the Body/Header.

What's new #

  • There is a new callback onTapped in CalendarCallbacks.
    • This is now called when the user taps on an empty space a calendar (Multiday body).
  • There is a new callback onMultiDayTapped in CalendarCallbacks.
    • This is called when the user taps on an empty space in the calendar (Multiday Header / Month body).
  • MultiDayBodyConfiguration added horizontalPadding this padding is located between events and the edge of day.
  • There is now a CalendarInteraction and CalendarSnapping class that can be passed to the CalendarBody / CalendarHeader as a ValueNotifier. This allows the calendar view to change these behaviors without rebuilding the entire view.
  • CalendarSnapping now has a eventSnapStrategy that 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 header CalendarHeader and body CalendarBody 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 #

pre-0.5.0 #

104
likes
150
points
8.73k
downloads

Publisher

verified publisherkdab.com

Weekly Downloads

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.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, scrollable_positioned_list, universal_platform

More

Packages that depend on kalender