Skip to content
pubscout

enough_icalendar

0.17.0, released a year ago by enough.de

Parse, generate, and respond to iCalendar (.ics) invites in pure Dart.

WASM-ready
$ flutter pub add enough_icalendar
Source repository

What it does

Provides a pure Dart library to fully parse, generate, and respond to iCal and ics calendar invites compliant with RFC 5545 and RFC 5546. Supports various components like VCALENDAR, VEVENT, VTIMEZONE, VALARM, VTODO, and VJOURNAL.

AI-written summary of version 0.17.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Your Flutter or Dart app needs to parse incoming calendar invites from emails or files.
  • You need to generate standard iCal invites, replies, or counter-proposals.

Skip it when

  • You only need to interact directly with the device's native calendar database without parsing raw .ics data.

Strengths

  • Fully compliant with RFC 5545 and RFC 5546 iTIP standards.
  • Pure Dart implementation with no platform dependencies.
  • Supports complex invite handling such as delegates, counter-proposals, and recurrence rules.

Weaknesses

  • Does not natively export to the device's local calendar app without helper packages like enough_icalendar_export.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
2
import 'package:enough_icalendar/enough_icalendar.dart';

final text = '''BEGIN:VCALENDAR\nVERSION:2.0\nBEGIN:VEVENT\nSUMMARY:Meeting\nEND:VEVENT\nEND:VCALENDAR''';
final icalendar = VComponent.parse(text) as VCalendar;
print(icalendar.event?.summary);

Alternatives

Packages that do the same job and could replace enough_icalendar.

  • icalendar_parser

    Package to parse iCalendar (.ics) files written in pure Dart.

  • acronym

    A simple package to generate acronyms from strings with support for stop words and syllables.

  • rrule

    Recurrence rule parsing, calculation, and formatting as defined in the iCalendar RFC.

Works with

Packages commonly used together with enough_icalendar: ones it builds on, ones built on it, and its own family.