flexiDateFormatter top-level property
Implementation
FlexiDateFormatter flexiDateFormatter = (
date, {
String? futureLabel = "in",
String? historyLabel = "ago",
bool? withYear = false,
String? dateLabel = "",
}) {
return date.formatted() ?? '';
};