utils library Null safety

Utility functions/wrappers

Functions

clean_ics_text_fields(String? text) String?
Unescape ICS fields
fit_date_to_cal(DateTime date) DateTime
Change event date/hour according to configured calendar offset, to show calendar as if user was already in the correct timezone
get_ics_tz_key(Map<String, dynamic> ics, String clean_key) String
launch_url(String url) → dynamic
Open an URL in an external app if possible, else show a toast to notify user about error