Skip to content
pubscout

calendar_day_view

6.0.0, released 8 months ago by samderlust.com

Flutter library for displaying calendar events in multiple day view layouts.

WASM-ready
$ flutter pub add calendar_day_view
Source repository

What it does

Provides customized widgets to render daily calendar events in formats like multi-column, category, overflow, event-only, and in-row views. Includes visual customization via DayViewDecoration, auto-scrolling to current time, and interactive time slot tapping.

AI-written summary of version 6.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display daily schedule or calendar events in a Flutter application
  • You want support for Google Calendar-style multi-column layout for overlapping events

Skip it when

  • You need month or year calendar views instead of a day view
  • You require a complex backend-synced calendar architecture out-of-the-box

Strengths

  • Multiple layout view types including multi-column and category day views
  • Reusable DayViewDecoration for consistent styling across different views
  • Auto-scroll to current time and custom overlap strategies

Weaknesses

  • Focused exclusively on day views rather than full month or year calendars
  • Recent major version updates introduce breaking changes to config and decoration structures

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Not documented

CalendarDayView.multiColumn(
  config: MultiColumnDayViewConfig(
    currentDate: DateTime.now(),
    timeGap: 60,
    heightPerMin: 2,
    startOfDay: const TimeOfDay(hour: 7, minute: 0),
    endOfDay: const TimeOfDay(hour: 20, minute: 0),
  ),
  events: events,
  onTimeTap: (time) => handleTimeTap(time),
  itemBuilder: (context, constraints, event, columnIndex, totalColumns) {
    return Container(child: Text(event.value));
  },
)

Alternatives

Packages that do the same job and could replace calendar_day_view.

Works with

Packages commonly used together with calendar_day_view: ones it builds on, ones built on it, and its own family.