Skip to content
pubscout

cr_calendar

1.3.0, released a year ago by cleveroad.com

Customizable Flutter calendar widget with range picking and event showing.

WASM-ready
$ flutter pub add cr_calendar
Source repository

What it does

Provides a horizontally scrollable month view calendar with event lines over days and a date selection dialog mode. It allows customization of day cells, week days, headers, and selection touch modes.

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

Use it when

  • You need a Google Calendar-inspired UI in your Flutter application.
  • You require customizable calendar event rendering over day cells.
  • You need a date range picker dialog with customizable buttons and layout.

Skip it when

  • You need a non-calendar scheduling tool or a simple list-based agenda without a month grid.
  • Frequent setState calls on the parent page cannot be avoided, which may cause performance issues.

Strengths

  • Google Calendar-inspired design and features
  • Supports event lines displayed directly over day cells
  • Includes a built-in date range picker dialog
  • Highly customizable builders for days, week days, and buttons

Weaknesses

  • Frequent setState calls on the page using the calendar can impact performance
  • Limited documentation outside of README parameter tables

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Not documented

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  CrCalendarController _controller = CrCalendarController();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: CrCalendar(
          initialDate: DateTime.now(),
          controller: _controller,
        ),
      ),
    );
  }
}

Alternatives

Packages that do the same job and could replace cr_calendar.

Works with

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