Kalendar

Highly customizable Flutter Calendar.

ImageImage
Kalendar with borderKalendar with custom day tiles
ImageImage
Select multiple dates and mark themMark dates with custom events

Features

  • Easy to use API
  • Select single date
  • Select multiple dates
  • Mark dates with different types of events
  • Build your own header, week row and day tiles with builders

Usage

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

class SimpleCalendar extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.symmetric(horizontal: 4),
      child: Kalendar(),
    );
  }
}

Props

propstypes
markedDatesMap<String, List<String>>
markBuilderMarkBuilder
borderRadiusdouble
onTapOnTappedOnDayTile
selectedDatesSet<String>
dayTileMargindouble
dayTileBorderColorColor
dayTileBuilderDayTileBuilder
weekBuilderWeekBuilder
showBorderbool
headerBuilderHeaderBuilder

Libraries

kalendar

Dart

VM

dart:ffi
Foreign Function Interface for interoperability with the C programming language. [...]

Web

dart:html
HTML elements and other resources for web-based applications that need to interact with the browser and the DOM (Document Object Model). [...]
dart:js
Low-level support for interoperating with JavaScript. [...]
dart:js_util
Utility methods to efficiently manipulate typed JSInterop objects in cases where the name to call is not known at runtime. You should only use these methods when the same effect cannot be achieved with @JS annotations. These methods would be extension methods on JSObject if Dart supported extension methods.