Skip to content
A calendar widget for Flutter.
Branch: master
Clone or download
ericwindmill Merge pull request #34 from raacker/today_button
Fixed issue#33 : Today button of Expended calendar should choose today properly
Latest commit 7b3ef33 Mar 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example Merge pull request #1 from apptreesoftware/master Jan 21, 2019
lib Merge pull request #34 from raacker/today_button Mar 14, 2019
.gitignore
.metadata inital Feb 14, 2018
LICENSE.md
README.md Updated README.md Customize Calendar Example Mar 14, 2019
pubspec.yaml

README.md

flutter_calendar

A calendar widget for Flutter Apps.

Borrowed DateTime utility functions from the Tzolkin Calendar web element.

Usage

Add to your pubspec dependencies:

    flutter_calendar: ^0.0.1

Render the map with one of three options:

1. Default, Material Design

new Calendar()

standard view


2. An Expandable Map

new Calendar(
  isExpandable: true;
)

expanded view


3. Customize It (Standard or Expandable)

new Calendar(
  // A builder function that renders each calendar tile how you'd like.
  dayBuilder: (BuildContext context, DateTime day) {
      return new Text("!");
  },
)

day builder


API

// Three optional params:
final VoidCallback onDateSelected;
final bool isExpandable;
final Widget dayBuilder;
You can’t perform that action at this time.