table_calendar 1.0.2

  • Example
  • Installing
  • Versions
  • 91

Table Calendar #

Pub Package Awesome Flutter

Highly customizable, feature-packed Flutter Calendar with gestures, animations and multiple formats.

Table Calendar with custom stylesTable Calendar with Builders

Features #

  • Extensive, yet easy to use API
  • Custom Builders for true UI control
  • Vertical autosizing
  • Beautiful animations
  • Gesture handling
  • Multiple Calendar formats
  • Multiple days of the week formats
  • Nice, configurable UI out of the box

Usage #

Make sure to check out example project.

For more info please refer to API docs.

Installation #

Add to pubspec.yaml:

  table_calendar: ^1.0.2


  • FormatButton text can now be customized


  • Fixed CalendarFormat issue when not using a callback


  • Added custom Builders API
  • Added DateTime truncation logic
  • onDaySelected callback now contains list of events associated with that day
  • Added onVisibleDaysChanged callback
  • SwipeConfig can now be customized
  • Days outside of current month can be shown/hidden
  • Refactored code
  • Updated example project


  • Added SwipeToExpand for CalendarFormat
  • AvailableGestures can now be specified (none, horizontalSwipe, verticalSwipe, all)
  • Fixed styling issue with SelectedDay on weekends


  • Added slide animation for CalendarFormat
  • CalendarFormat animation can now be specified (slide, scale)
  • Added Monday-Sunday week format
  • Week format can now be specified with StartingDayOfWeek enum


  • Any style can now be customized
  • Grouped properties into Classes
  • Refactored code for better readability
  • Added full documentation


  • Added optional initial Date (defaults to


  • Added animated Swipe gesture
  • CalendarFormat can now be enforced programmatically


  • Added animations to CalendarFormat change
  • Added animations to Date selection
  • Added new CalendarFormat - TwoWeeks
  • Available CalendarFormats can now be specified


  • Refactored code
  • Updated example project


  • Added chevron button customization
  • Calendar header can be hidden now


  • Added OnFormatChanged callback


  • Added CalendarFormat button customization


  • Added CalendarFormat button - toggle between month view and week view
  • Additional customization is now available


  • Revamped example
  • Improved description

[0.0.1] - Initial release

  • Fully working TableCalendar; example included


Table Calendar example #

Demonstrates how to use table_calendar package. Displays TableCalendar widget with a ListView underneath it.

Table Calendar with custom stylesTable Calendar with Builders

TableCalendar offers a lot of customization:

  • by using custom Styles
  • by using custom Builders (accompanied by custom Styles)

Using just Styles is a great way to get nice results with little effort. That being said, using Builders will give you full control over Calendar's UI.

This example project will show you both of aforementioned methods.

For more info please refer to API docs.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  table_calendar: ^1.0.2

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:table_calendar/table_calendar.dart';
Version Uploaded Documentation Archive
1.0.2 Mar 22, 2019 Go to the documentation of table_calendar 1.0.2 Download table_calendar 1.0.2 archive
1.0.1 Mar 21, 2019 Go to the documentation of table_calendar 1.0.1 Download table_calendar 1.0.1 archive
1.0.0 Mar 21, 2019 Go to the documentation of table_calendar 1.0.0 Download table_calendar 1.0.0 archive
0.3.2 Mar 16, 2019 Go to the documentation of table_calendar 0.3.2 Download table_calendar 0.3.2 archive
0.3.1 Mar 15, 2019 Go to the documentation of table_calendar 0.3.1 Download table_calendar 0.3.1 archive
0.3.0 Mar 14, 2019 Go to the documentation of table_calendar 0.3.0 Download table_calendar 0.3.0 archive
0.2.2 Mar 12, 2019 Go to the documentation of table_calendar 0.2.2 Download table_calendar 0.2.2 archive
0.2.1 Mar 9, 2019 Go to the documentation of table_calendar 0.2.1 Download table_calendar 0.2.1 archive
0.2.0 Mar 6, 2019 Go to the documentation of table_calendar 0.2.0 Download table_calendar 0.2.0 archive
0.1.4 Mar 4, 2019 Go to the documentation of table_calendar 0.1.4 Download table_calendar 0.1.4 archive

All 16 versions...

Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Mar 24, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.3.3


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/src/customization/calendar_builders.dart.

Run flutter format to format lib/src/customization/calendar_builders.dart.

Format lib/src/customization/calendar_style.dart.

Run flutter format to format lib/src/customization/calendar_style.dart.

Format lib/src/customization/days_of_week_style.dart.

Run flutter format to format lib/src/customization/days_of_week_style.dart.

Fix additional 3 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/customization/header_style.dart (Run flutter format to format lib/src/customization/header_style.dart.)
  • lib/src/logic/calendar_logic.dart (Run flutter format to format lib/src/logic/calendar_logic.dart.)
  • lib/table_calendar.dart (Run flutter format to format lib/table_calendar.dart.)


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
collection ^1.14.11 1.14.11
date_utils ^0.1.0+2 0.1.0+2
flutter 0.0.0
intl ^0.15.7 0.15.8
simple_gesture_detector ^0.1.0 0.1.1
Transitive dependencies
meta 1.1.6 1.1.7
path 1.6.2
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies