icalendar_parser 0.1.1 copy "icalendar_parser: ^0.1.1" to clipboard
icalendar_parser: ^0.1.1 copied to clipboard

outdated

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

icalendar_parser #

Issues Forks Stars Pub Version

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

Implementation of AnyFetch's ics-parser in JavaScript.

Getting Started #

Add icalendar_parser to your pubspec.yaml:

icalendar_parser: any

How to use #

You can refer to the example/ folder for a complete example implemented in Flutter.

import 'package:flutter/services.dart' show rootBundle;
import 'package:icalendar_parser/icalendar_parser.dart';

final icsString = await rootBundle.loadString('assets/your_file.ics');
final iCalendar = ICalendar.fromString(icsString);

TODO #

(Might add some more)

  • ❌ Parse VEVENT into object
  • ❌ Parse VALARM into object
  • ❌ Generate ICalendar object from JSON
  • ✅ Add unit tests
  • ❌ Configure CI script
54
likes
0
pub points
89%
popularity

Publisher

verified publisherrouxguillau.me

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on icalendar_parser