kalender 0.14.3 copy "kalender: ^0.14.3" to clipboard
kalender: ^0.14.3 copied to clipboard

This Flutter package offers a Calendar Widget featuring Day, MultiDay, Month and Schedule views. Moreover, it empowers you to tailor the visual aspects of the calendar widget.

0.14.3 #

0.14.2 #

  • fix: Tile and ResizeHandleWidget rebuild issues.

0.14.0 #

  • feat: Custom onWillAcceptWithDetails functions for DragTargets. #213

API Change #

  • Resize Handles are now only rendered when the cursor is hovering on a tile or when a tile is selected on mobile.
  • Added a [ResizeHandles] abstract widget and [DefaultResizeHandles] widget that allows for more customization.
  • Replaced vertical/horizontal resize handle positioners from [TileComponents] with a single [ResizeHandlePositioner].

0.13.1 #

  • fix: MultiDayLayoutFrameCache using toString() to generate map key. #225

0.13.0 #

  • feat: Improved TimeLine and HourLines widgets. #216
  • feat: Improved DayHeader and DayHeaderStyle. PR #218
  • feat: Improved CalendarCallbacks. #133 / #30 - Added onTappedWithDetail, onLongPressed and onLongPressedWithDetail callbacks. - Deprecated onMultiDayTapped. (Use onTappedWithDetail instead). - Not providing onEventTapped and onEventTappedWithDetail will remove internal gesture detectors for events, removing interference for GestureDetectors added to EventTileBuilders. - Added mixins (DayEventTileUtils and MultiDayEventTileUtils) for EventTileBuilders that have their own gesture detectors. - Added onEventCreateWithDetail as used in the new advanced example.
  • fix: DayDragTarget calculateLocalCursorPosition, add scroll offset after converting to local coordinate space.

0.12.0 #

0.11.1 #

  • fix: Too many day separators in MultiDayView Free Scroll #208
  • fix: PageNavigationFunctions.indexFromDate #211

0.11.0 #

  • feat: Added interaction (EventInteraction) property to calendar events for fine grained control. #194
  • fix: Events rendered as overlapping under certain conditions when they are not overlapping. #200
  • fix: Overlay positioning and dismiss behavior. #203

0.10.2 #

  • fix: DefaultEventsController ConcurrentModificationError. #184

0.10.1 #

  • fix: Time indicator not rendered under the correct date. #182

0.10.0 #

  • feat: Added locale property to CalenderView allowing users to specify a language with the intl package. #172
  • feat: Add string builder to MultiDayPortalOverlayButtonStyle for easy override of the text. #172
  • fix: MultiDayPortalOverlayButtonStyle not using style overrides. #172
  • fix: Overlap when scrolling. #174
  • fix: ScheduleView reload issues. #170

0.9.1 #

  • fix: ScheduleViewController ItemPositionsListener was not initialized. #170

0.9.0 #

  • feat: preserve visible date when switching between different views. #165
  • docs: updated MonthBodyComponents in readme to include all custom components. #168

0.8.0 #

Features #

  • Reimplemented schedule view. discussion 122, #130
  • The tile builder is no longer a required parameter, default tiles are now provided. (Highly recommended to override these.)

0.7.2 #

  • fix: Calendar event at 00:00 not visible (zero duration) #159
  • fix: Export the necessary classes to allow for custom a GenerateMultiDayLayoutFrame. #162

0.7.1 #

  • fix: Calendar event at 00:00 not visible #159
    • Note: This makes minor changes to the abstract class EventLayoutDelegate.
  • fix: Long event causes all following events to intend. #142

0.7.0 #

Features #

  • Ability to limit the number of events in MultiDayHeader. #141 / #147
    • MultiDayHeaderConfiguration Changes:
      • Added maximumNumberOfVerticalEvents
      • Added generateMultiDayLayoutFrame
    • Added overlayBuilders to MultiDayHeaderComponents for customizing the overlay.
  • MonthBody limits the number of events displayed based on size constraints. #141 / #147
    • Added overlayBuilders to MonthBodyComponents for customizing the overlay.
  • Added a new callback OnEventTappedWithDetail. #141 / #148

Migrations #

Improvements #

  • The defaultMultiDayGenerateFrame improves on the defaultMultiDayLayoutStrategy by allowing events to fill empty spaces.

Fixes #

  • Week view not showing correct range when first day of week is something other than monday. #150
  • Events not snapping to closest. #155

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 #

154
likes
160
points
9.18k
downloads

Publisher

verified publisherkdab.com

Weekly Downloads

This Flutter package offers a Calendar Widget featuring Day, MultiDay, Month and Schedule views. Moreover, it empowers you to tailor the visual aspects of the calendar widget.

Repository (GitHub)
View/report issues

Topics

#calendar #widget

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, intl, scrollable_positioned_list, universal_platform

More

Packages that depend on kalender