unical_caldav 0.1.0
unical_caldav: ^0.1.0 copied to clipboard
CalDAV backend for unical, built on the caldav package. Reads and writes both events (VEVENT) and native tasks (VTODO with PERCENT-COMPLETE) and preserves invisible X- properties on servers that support them.
unical_caldav #
CalDAV backend for unical, built on the caldav package.
- Events map to
VEVENT, tasks to nativeVTODO(withPERCENT-COMPLETE), so on a task-capable server the engine runs thenativeVtodostrategy and the percentage round-trips natively. - The
caldavpackage models neitherCATEGORIESnor customX-properties, so this backend reportspreservesXProps: false/supportsCategories: false— tags stay in the caller's store. A future revision can inject them throughCalendarEvent.rawIcalendar.
final backend = await CalDavBackend.connect(
baseUrl: 'https://caldav.fastmail.com',
username: 'me@fastmail.com',
password: '<app-password>',
);
final engine = SyncEngine(backend: backend, mappings: InMemoryMappingStore());
Google Workspace is not a target for tasks here: Google's CalDAV interface is events-only (it rejects
VTODO). Point this backend at a task-capable server (Nextcloud, Fastmail, iCloud). For Google/device useunical_flutter.