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

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.
  • Updated changelog and version to follow Semantic Versioning.

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
0
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)
View/report issues

License

unknown (license)

Dependencies

flutter, scrollable_positioned_list, universal_platform

More

Packages that depend on kalender