Package selection guidance compiled from public package information, community data, and project usage.
A Flutter package that displays human-readable, fuzzy timestamps such as '15 minutes ago' or '2 days ago'. It simplifies the presentation of date and time by automatically calculating and formatting relative time differences. Ideal for apps needing dynamic, user-friendly time labels in feeds, messages, or logs. The widget supports multiple languages and is compatible across all major platforms including mobile, web, and desktop. It integrates seamlessly with Flutter's UI system and requires minimal setup.
Use cases
Displaying post timestamps in social media apps
Showing message send times in chat interfaces
Updating activity logs with relative time
Enhancing user experience with readable time labels
Synchronizing real-time data with localized time formats
Key features
Automatic relative time calculation
Multi-language support
Cross-platform compatibility
Simple widget integration
Customizable time formatting
Lightweight and fast
Suitable for
Social media applications
Messaging and chat apps
Real-time dashboards
Content feeds
User activity tracking
Considerations
Requires manual language setup for non-default locales
May need additional configuration for precise time zones
Limited to relative time display (not absolute dates)
Not suitable for exact timestamp recording
Depends on underlying Dart timeago library for translations
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
timeago
timeago is a dart library that converts a date into a humanized text. Instead of showing a date 2020-12-12 18:30 with timeago you can display something like "now", "an hour ago", "~1y", etc
timeago
core library
timeago_flutter
flutter widgets
The easiest way to use this library via top-level function format(date):