calendar_views 0.5.2

  • Readme
  • Changelog
  • Example
  • Installing
  • 82

calendar_views #

Collection of customisable calendar related widgets for Flutter.

Day View #

Day View Documentation

Set of widgets for displaying a day view.

Day view can display a single or multiple days.


Days Page View #

Widget similar to PageView, but instead of page-number it gives each page a list of days.

DaysPageView can display virtually infinite number of pages.

Month Page View #

Widget similar to PageView, but instead of page-number it gives each page a month.

MonthPageView can display virtually infinite number of pages.

Month View #

Widget for displaying a grid of days of some month and optionally a header.


[0.5.2] #

  • Changed all Future

[0.5.1] #

  • Fixed error with different imports of Future
  • Fixed errors with generated API docs

[0.5.0] #

  • Initial release


import 'package:flutter/material.dart';

import 'days_page_view_example.dart';
import 'day_view_example.dart';
import 'month_page_view_example.dart';
import 'month_view_example.dart';

void main() => runApp(new MyApp());

/// Screen for picking different examples of this library.
/// Examples:
/// * [DayView example](day_view_example.dart)
/// * [DaysPageView example](days_page_view_example.dart)
/// * [MonthPageView example](month_page_view_example.dart)
/// * [MonthView example](month_view_example.dart)
class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: "calendar_views example",
      home: new Scaffold(
        appBar: new AppBar(
          title: new Text("calendar_views example"),
        body: new Builder(builder: (BuildContext context) {
          return new ListView(
            children: <Widget>[
              new ListTile(
                title: new Text("Day View"),
                subtitle: new Text("DayView Example"),
                onTap: () {
                    new DayViewExample(),
              new Divider(height: 0.0),
              new ListTile(
                title: new Text("Days Page View"),
                subtitle: new Text("DaysPageView Example"),
                onTap: () {
                    new DaysPageViewExample(),
              new Divider(height: 0.0),
              new ListTile(
                title: new Text("Month Page View"),
                subtitle: new Text("MonthPageView Example"),
                onTap: () {
                    new MonthPageViewExample(),
              new Divider(height: 0.0),
              new ListTile(
                title: new Text("Month View"),
                subtitle: new Text("MonthView Example"),
                onTap: () {
                    new MonthViewExample(),
              new Divider(height: 0.0),

  void _showWidgetInFullScreenDialog(BuildContext context, Widget widget) {
      new MaterialPageRoute(
        fullscreenDialog: true,
        builder: (BuildContext context) {
          return widget;

Use this package as a library

1. Depend on it

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

  calendar_views: ^0.5.2

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:calendar_views/calendar_views.dart';
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 Jul 2, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13
  • Flutter: 1.17.5

Analysis suggestions

Package not compatible with SDK dart

because of import path [calendar_views] that is in a package requiring null.

Health suggestions

Fix lib/src/day_view/day_view_essentials/day_view_essentials.dart. (-0.50 points)

Analysis of lib/src/day_view/day_view_essentials/day_view_essentials.dart reported 1 hint:

line 93 col 20: 'inheritFromWidgetOfExactType' is deprecated and shouldn't be used. Use dependOnInheritedWidgetOfExactType instead. This feature was deprecated after v1.12.1..

Format lib/src/day_view/day_view_schedule/components/event_view_component/arranging/implementations/chains_event_arranger.dart.

Run flutter format to format lib/src/day_view/day_view_schedule/components/event_view_component/arranging/implementations/chains_event_arranger.dart.

Format lib/src/month_view/month_view.dart.

Run flutter format to format lib/src/month_view/month_view.dart.

Maintenance suggestions

Package is getting outdated. (-43.84 points)

The package was last published 75 weeks ago.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
flutter 0.0.0
meta ^1.1.5 1.1.8
quiver ^2.0.0+1 2.1.3
Transitive dependencies
collection 1.14.12 1.14.13
matcher 0.12.8
path 1.7.0
sky_engine 0.0.99
stack_trace 1.9.5
typed_data 1.1.6 1.2.0
vector_math 2.0.8
Dev dependencies