Skip to content

yegobox/flutter_calendar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

Releases

No releases published

Packages

No packages published

Languages

  • Dart 97.0%
  • Swift 2.2%
  • Other 0.8%