scrolling_years_calendar 1.0.4

  • Example
  • Installing
  • Versions
  • new73

Flutter Scrolling Calendar 🗓

A customizable calendar widget to easily scroll through the years

pub version



  • Choose range of years and the initial year to show
  • Callback on month-tap with date information
  • Choose the color of the current day indicator
  • Override the default month names

Planned Features

  • Customizable color indications per date
  • Allow for better customization of elements
  • Zoom-in to month view on tap in year-view
  • Zoom-in to day view on tap in month-view
  • Infinite scrolling


1.0.0 - 28-10-2018

  • Initial release


import 'package:flutter/material.dart';
import 'package:scrolling_years_calendar/scrolling_years_calendar.dart';

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

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Scrolling Years Calendar',
      home: new MyHomePage(),

class MyHomePage extends StatefulWidget {
  _MyHomePageState createState() => new _MyHomePageState();

class _MyHomePageState extends State<MyHomePage> {

  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        title: new Text("Flutter Scrolling Calendar"),
      body: new Center(
        child: ScrollingYearsCalendar(

          // required attributes
          context: context,
          startYear: 2016,
          endYear: 2019,

          // optional attributes
          customMonthNames: ["Jan", "Feb", "Mar", "Apr", "May", 
          "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
          onMonthClick: (int year, int month) => print("Clicked $month/$year"),


Use this package as a library

1. Depend on it

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

  scrolling_years_calendar: ^1.0.4

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:scrolling_years_calendar/scrolling_years_calendar.dart';
Version Uploaded Documentation Archive
1.0.4 Oct 28, 2018 Go to the documentation of scrolling_years_calendar 1.0.4 Download scrolling_years_calendar 1.0.4 archive
1.0.3 Oct 28, 2018 Go to the documentation of scrolling_years_calendar 1.0.3 Download scrolling_years_calendar 1.0.3 archive
1.0.2 Oct 28, 2018 Go to the documentation of scrolling_years_calendar 1.0.2 Download scrolling_years_calendar 1.0.2 archive
1.0.1 Oct 28, 2018 Go to the documentation of scrolling_years_calendar 1.0.1 Download scrolling_years_calendar 1.0.1 archive
1.0.0 Oct 28, 2018 Go to the documentation of scrolling_years_calendar 1.0.0 Download scrolling_years_calendar 1.0.0 archive
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 Nov 14, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.6
  • Flutter: 0.11.3


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies