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
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.
Works with
Packages commonly used together with enough_icalendar: ones it builds on, ones built on it, and its own family.
- intlenough_icalendar depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- enough_convertSame familySupport for character encodings and codecs missing from dart:convert.
- enough_mailSame familyIMAP, POP3, and SMTP email library with high and low-level APIs and MIME parsing.
- enough_mail_flutterSame familyFlutter widgets to view and download email messages using enough_mail.
- enough_mediaSame familyExtensible collection of media viewers for preview and interactive experiences.
- enough_ascii_artSame familyGenerates ASCII art from images, FIGlet text banners, Unicode fonts, and emoticons.